Build with DLL_LDFLAGS=-Wl,--as-needed, addressing some dpkg-shlibdeps warnings.
authorAaron M. Ucko <ucko@debian.org>
Sun, 29 May 2011 15:14:32 +0000 (15:14 +0000)
committerAaron M. Ucko <ucko@debian.org>
Sun, 29 May 2011 15:14:32 +0000 (15:14 +0000)
debian/rules

index 45a71ff5210d14d315118510a08412c6be850f59..c50f9d38844530c017c800c5f0ce486de77bf65b 100755 (executable)
@@ -29,7 +29,7 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
        cd c++/BUILD/build  &&  make -f Makefile.flat \
-           all_projects="$(proj)"
+           all_projects="$(proj)" DLL_LDFLAGS=-Wl,--as-needed
 
 override_dh_auto_test:
        -dh_auto_test