[Pkg-samba-maint] r2956 - trunk/tdb/debian

jelmer at alioth.debian.org jelmer at alioth.debian.org
Sat Jul 18 11:01:56 UTC 2009


Author: jelmer
Date: 2009-07-18 11:01:53 +0000 (Sat, 18 Jul 2009)
New Revision: 2956

Modified:
   trunk/tdb/debian/changelog
   trunk/tdb/debian/rules
Log:
Fix use of --as-needed.

Modified: trunk/tdb/debian/changelog
===================================================================
--- trunk/tdb/debian/changelog	2009-07-18 11:01:49 UTC (rev 2955)
+++ trunk/tdb/debian/changelog	2009-07-18 11:01:53 UTC (rev 2956)
@@ -3,6 +3,7 @@
   * Provide a symbols file.
   * Provide deprecated replacement of public tdb_logging_function symbol 
     removed upstream without soname bump. Closes: #511011
+  * Fix use of --as-needed.
   * Bump standards version to 3.8.2.
 
  -- Jelmer Vernooij <jelmer at debian.org>  Sat, 18 Jul 2009 12:15:43 +0200

Modified: trunk/tdb/debian/rules
===================================================================
--- trunk/tdb/debian/rules	2009-07-18 11:01:49 UTC (rev 2955)
+++ trunk/tdb/debian/rules	2009-07-18 11:01:53 UTC (rev 2956)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
-CFLAGS = -g -Wall -Wl,--as-needed
+CFLAGS = -g -Wall
+SHLD_FLAGS = -shared -Wl,--as-needed
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 CFLAGS += -O0
@@ -21,7 +22,7 @@
 build: configure build-stamp
 build-stamp:
 	dh_testdir
-	$(MAKE) all 
+	$(MAKE) all SHLD_FLAGS="$(SHLD_FLAGS)"
 	touch build-stamp
 
 clean: clean-patched unpatch




More information about the Pkg-samba-maint mailing list