diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-11-15 01:09:21 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-11-15 01:09:21 +0000 |
commit | 0491eecbcf03ea9b9b74ce03c246190f1d2a4383 (patch) | |
tree | eb7ec73d573319ccbc8f0b4dfdf7205a242c11b0 /libc/debian/rules | |
parent | ee11c6746ae17aa0403b18adc74fed8ea514d309 (diff) | |
download | illumos-packaging-0491eecbcf03ea9b9b74ce03c246190f1d2a4383.tar.gz |
Set up libld and liblddbg symlinks
Diffstat (limited to 'libc/debian/rules')
-rwxr-xr-x | libc/debian/rules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/debian/rules b/libc/debian/rules index a1817fb..32779a8 100755 --- a/libc/debian/rules +++ b/libc/debian/rules @@ -151,6 +151,17 @@ dirs-stamp: ln -sf $(CURDIR)/debian/tmp$$DEB_LIBDIR_64/libsunavl.so.1 \ debian/tmp$$DEB_USRLIBDIR_64/libavl.so + # This is for ld and other to find the right library: + . usr/env.sh; \ + ln -sf $(CURDIR)/debian/tmp$$DEB_LIBDIR_32/libld.so.4 \ + debian/tmp$$DEB_USRLIBDIR_32/libld.so && \ + ln -sf $(CURDIR)/debian/tmp$$DEB_LIBDIR_64/libld.so.4 \ + debian/tmp$$DEB_USRLIBDIR_64/libld.so && \ + ln -sf $(CURDIR)/debian/tmp$$DEB_LIBDIR_32/liblddbg.so.4 \ + debian/tmp$$DEB_USRLIBDIR_32/liblddbg.so && \ + ln -sf $(CURDIR)/debian/tmp$$DEB_LIBDIR_64/liblddbg.so.4 \ + debian/tmp$$DEB_USRLIBDIR_64/liblddbg.so + touch $@ headers-stamp: patch-stamp dirs-stamp fix-x-stamp |