Use -Wl,--as-needed for the link to appease dpkg-shlibdebs
authortg <tg@mirbsd.org>
Sun, 4 Dec 2011 14:15:04 +0000 (14:15 +0000)
committertg <tg@mirbsd.org>
Sun, 4 Dec 2011 14:15:04 +0000 (14:15 +0000)
debian/changelog
src/Makefile.am

index 5cf2d36..0f69f0d 100644 (file)
@@ -2,6 +2,7 @@ cvs (2:1.12.13+real-7) xunstable; urgency=low
 
   * Add lintian override for rcslock contrib script
   * debian/rules: cleanup (remove install/check, dh_installdirs)
+  * Use -Wl,--as-needed for the link to appease dpkg-shlibdebs
 
  -- Thorsten Glaser <tg@mirbsd.de>  Sat, 12 Nov 2011 00:05:27 +0000
 
index 426ec52..bf406bd 100644 (file)
@@ -110,6 +110,7 @@ cvs_DEPENDENCIES = $(cvs_client_objects) \
        ../diff/libdiff.a \
        ../lib/libcvs.a \
        $(ZLIB_LIBS)
+cvs_LDFLAGS = -Wl,--as-needed
 cvs_LDADD = $(cvs_client_objects) \
        ../diff/libdiff.a \
        ../lib/libcvs.a \