13
0

use patchelf to reset RPATH within bundled libraries so that the runtime linker will not go looking in places set by parts of the GTK build stack

git-svn-id: svn://localhost/ardour2/branches/3.0@12521 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-06-01 13:27:38 +00:00
parent ba5e71b50f
commit 72decf24cd

View File

@ -445,6 +445,11 @@ while [ true ] ; do
echo "Copying dependant lib $dep (required by ${parent})" echo "Copying dependant lib $dep (required by ${parent})"
cp $dep $Libraries cp $dep $Libraries
fi fi
#
# reset RPATH so that the runtime linker never looks
# in places we don't want it to
#
patchelf --set-rpath $Libraries $Libraries/`basename $dep`
if echo $dep | grep -sq '^/' ; then if echo $dep | grep -sq '^/' ; then
# absolute path, candidate for stripping # absolute path, candidate for stripping
deplibs="$deplibs $base" deplibs="$deplibs $base"