[Pkg-ocaml-maint-commits] r4850 - in /trunk/packages/liquidsoap/trunk/debian: changelog rules

toots at users.alioth.debian.org toots at users.alioth.debian.org
Mon Dec 3 00:36:36 UTC 2007


Author: toots
Date: Mon Dec  3 00:36:36 2007
New Revision: 4850

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=4850
Log:
Added --as-needed to ldflags

Modified:
    trunk/packages/liquidsoap/trunk/debian/changelog
    trunk/packages/liquidsoap/trunk/debian/rules

Modified: trunk/packages/liquidsoap/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/liquidsoap/trunk/debian/changelog?rev=4850&op=diff
==============================================================================
--- trunk/packages/liquidsoap/trunk/debian/changelog (original)
+++ trunk/packages/liquidsoap/trunk/debian/changelog Mon Dec  3 00:36:36 2007
@@ -1,6 +1,7 @@
 liquidsoap (0.3.5-3) UNRELEASED; urgency=low
 
   * Removed liquidtts manual page, now installed as a private script
+  * Added --as-needed to link flags to avoid non-needed linking.
 
  -- Romain Beauxis <toots at rastageeks.org>  Thu, 22 Nov 2007 11:20:28 +0100
 

Modified: trunk/packages/liquidsoap/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/liquidsoap/trunk/debian/rules?rev=4850&op=diff
==============================================================================
--- trunk/packages/liquidsoap/trunk/debian/rules (original)
+++ trunk/packages/liquidsoap/trunk/debian/rules Mon Dec  3 00:36:36 2007
@@ -14,6 +14,9 @@
 DEB_INSTALL_MANPAGES_liquidsoap := doc/liquidsoap.1
 DEB_COMPRESS_EXCLUDE := .pdf
 
+# Add --as-needed to linking to avoid unnecessary linking
+DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lid3tag -Wl,--as-needed"
+
 #DEB_DH_STRIP_ARGS := --exclude=liquidsoap --exclude=liquidtts
 
 binary-install/liquidsoap::




More information about the Pkg-ocaml-maint-commits mailing list