summaryrefslogtreecommitdiff
path: root/libc/debian
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian')
-rwxr-xr-xlibc/debian/rules5
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