From 2edbc3cf67b2e675fb2721d685901ea6756a9ae8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 Jun 2012 20:07:39 +0000 Subject: [PATCH] add use of chrpath git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12681 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 201dfcd2c9..11b5e191ba 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -430,6 +430,11 @@ while [ true ] ; do echo "Copying dependant lib $dep (required by ${parent})" cp $dep $Libraries fi + # + # reset RPATH so that the runtime linker never looks + # in places we don't want it to + # + chrpath -r $Libraries $Libraries/`basename $dep` if echo $dep | grep -sq '^/' ; then # absolute path, candidate for stripping deplibs="$deplibs $base"