Last active
October 4, 2024 16:00
-
-
Save gladiatr72/950a200b7b3ac7eef38b4e0ebd5f825d to your computer and use it in GitHub Desktop.
local build notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=$HOME/u/install/neovim-$( git describe --tags ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
readelf -d <bin> | grep -i rpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
P=$( basename $PWD) | |
V=$( git describe --tags ) | |
DEST="$HOME/u/install/$P-$V" | |
./configure --prefix=$DEST LDFLAGS="$LDFLAGS -Wl,-rpath=$ORIGIN${DEST}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment