Skip to content

Instantly share code, notes, and snippets.

@gladiatr72
Last active November 12, 2022 17:29
Show Gist options
  • Save gladiatr72/950a200b7b3ac7eef38b4e0ebd5f825d to your computer and use it in GitHub Desktop.
Save gladiatr72/950a200b7b3ac7eef38b4e0ebd5f825d to your computer and use it in GitHub Desktop.
local build notes
make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=$HOME/u/install/neovim-$( git describe --tags )
readelf -d <bin> | grep -i rpath
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