13
0

fixes for the linux build script

git-svn-id: svn://localhost/ardour2/branches/3.0@13070 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-07-23 16:13:30 +00:00
parent c623cfe0f3
commit 36946dd1c2

View File

@ -87,9 +87,6 @@ if test x$STRIP != xall -a x$STRIP != xnone -a x$STRIP != xsome ; then
exit 1
fi
# Error out whenever possible
set -e
release_version=`grep -m 1 '^VERSION' ../../wscript | awk '{print $3}' | sed "s/'//g"`
svn_version=`grep -m 1 'svn_revision =' ../../libs/ardour/svn_revision.cc | cut -d"'" -f 2`
echo "Version is $release_version / $svn_version"
@ -450,7 +447,7 @@ while [ true ] ; do
# reset RPATH so that the runtime linker never looks
# in places we don't want it to
#
patchelf --set-rpath $Libraries $Libraries/`basename $dep`
chrpath -r foo $Libraries/`basename $dep`
if echo $dep | grep -sq '^/' ; then
# absolute path, candidate for stripping
deplibs="$deplibs $base"