diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-20 15:42:41 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-20 16:48:16 +0300 |
commit | ed185a43453ecfd36ced6d0eaf9082cd4daab162 (patch) | |
tree | c6f74005c6c6ffb72cc9519bddb621c75a2f34e1 | |
parent | 43b17ae891e056b8ee2deb66fd1dbadad8e74cdd (diff) | |
download | illumos-packaging-ed185a43453ecfd36ced6d0eaf9082cd4daab162.tar.gz |
Make libc a script for 32 bits too
-rwxr-xr-x | libc/debian/rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/debian/rules b/libc/debian/rules index c5ff891..d6b0474 100755 --- a/libc/debian/rules +++ b/libc/debian/rules @@ -257,8 +257,13 @@ override_dh_auto_install: rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libc.so echo 'INPUT(libc.so.1 AS_NEEDED(-lsocket -lnsl -lresolv -liconv /usr/lib/$(DEB_HOST_MULTIARCH)/libssp.so.0))' \ > debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libc.so + rm debian/tmp/usr/lib32/libc.so + : # We do not need it all for 32-bit: + echo 'INPUT(libc.so.1 AS_NEEDED(-lsocket -lnsl -lresolv /usr/lib32/libssp.so.0))' \ + > debian/tmp/usr/lib32/libc.so : # Even sunld: ln -sf libc.so.1 debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libc.so + ln -sf libc.so.1 debian/tmp/lib32/libc.so override_dh_install: debian/LC_DATA.gz debian/locales.config dh_install |