BF: standalone debian package -- dh_makeshlibs --noscripts
authorYaroslav Halchenko <debian@onerussian.com>
Mon, 16 Nov 2015 15:40:54 +0000 (10:40 -0500)
committerJoey Hess <joeyh@joeyh.name>
Mon, 16 Nov 2015 21:05:30 +0000 (17:05 -0400)
To avoid creation of unnecessary trigger calling out to ldconfig
via activate-noawait which is not present on older releases (e.g. squeeze)

debian/rules

index 3fcaccb869d64654e3e0621bad9ef5e3b0bc6e79..a1a5b40221f5f84e2d1f3cfb7ad49738039dffdb 100755 (executable)
@@ -25,4 +25,9 @@ override_dh_auto_install:
 override_dh_fixperms:
        dh_fixperms -Xld-linux
 
+# Do not add "ldconfig" trigger since of no need, and activate-noawait might not
+# be known to elderly distributions (e.g. squeeze)
+override_dh_makeshlibs:
+       dh_makeshlibs --noscripts
+
 endif