]> andersk Git - nss_nonlocal.git/blobdiff - debian/rules
Only exclude glibc-private for new enough libc6.
[nss_nonlocal.git] / debian / rules
index c90fcf2aed27b8be414197504fc017650b16c0a5..d6a072e5e620b699999a91c6b7bda8fb6d99ffff 100755 (executable)
@@ -11,6 +11,11 @@ include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_CONFIGURE_PREFIX = /
 
+LIBC6_VERSION := $(shell dpkg-query --showformat='$${Version}' --show libc6)
+ifeq ($(shell dpkg --compare-versions '$(LIBC6_VERSION)' '>=' '2.8+20080809' && echo y),y)
+    DEB_DH_SHLIBDEPS_ARGS = -- -xglibc-private
+endif
+
 debian/stamp-autotools-files: DEB_AUTO_UPDATE_AUTOMAKE += --foreign --add-missing
 
 debian/stamp-autotools-files: aclocal.m4
This page took 0.031531 seconds and 4 git commands to generate.