r3826 - glibc-package/branches/multiarch/debian/rules.d
Author: aurel32
Date: 2009-09-09 08:49:46 +0000 (Wed, 09 Sep 2009)
New Revision: 3826
Modified:
glibc-package/branches/multiarch/debian/rules.d/build.mk
Log:
Fix ld.so symlink creation
Modified: glibc-package/branches/multiarch/debian/rules.d/build.mk
===================================================================
--- glibc-package/branches/multiarch/debian/rules.d/build.mk 2009-09-09 02:45:58 UTC (rev 3825)
+++ glibc-package/branches/multiarch/debian/rules.d/build.mk 2009-09-09 08:49:46 UTC (rev 3826)
@@ -150,8 +150,9 @@
# Create the ld.so symlink to the multiarch directory
if [ $(curpass) = libc ]; then \
rtld_so="$$(LANG=C LC_ALL=C readelf -l debian/tmp-$(curpass)/usr/bin/iconv | grep 'interpreter' | sed -e 's/.*interpreter: \(.*\)]/\1/g')" ; \
- link_name="debian/tmp-$(curpass)/lib/$$(basename $$rtld_so)" ; \
- target="$(call xx,slibdir)/$$(readlink debian/tmp-$(curpass)/$$rtld_so)" ; \
+ rtld_so="$$(basename $$rtld_so)" ; \
+ link_name="debian/tmp-$(curpass)/lib/$$rtld_so" ; \
+ target="$(call xx,slibdir)/$$(readlink debian/tmp-$(curpass)/$(call xx,slibdir)/$$rtld_so)" ; \
ln -s $$target $$link_name ; \
fi
Reply to: