[SCM] Debian packaging for XMLTooling-C branch, master, updated. debian/1.4.2-4-5-gbb505de

Russ Allbery rra at debian.org
Wed Feb 1 00:43:23 UTC 2012


The following commit has been merged in the master branch:
commit c9b709b01d0fe57dbd4f769b502666d9200a6b9a
Author: Russ Allbery <rra at debian.org>
Date:   Tue Jan 31 16:24:32 2012 -0800

    Force linking with -lpthread
    
    * Force linking with -lpthread, working around a bug in libtool that
      drops the linkage because it uses -nostdlib.  See #468555.

diff --git a/debian/changelog b/debian/changelog
index f56ea50..075a2fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ xmltooling (1.4.2-5) UNRELEASED; urgency=low
     inlined functions, it doesn't appear maintainanable with existing
     tools, and for this library the shlibs behavior seems sufficient.
   * Update Autotools build files via dh_autoreconf.
+  * Force linking with -lpthread, working around a bug in libtool that
+    drops the linkage because it uses -nostdlib.  See #468555.
 
  -- Russ Allbery <rra at debian.org>  Tue, 31 Jan 2012 12:34:36 -0800
 
diff --git a/debian/rules b/debian/rules
index 92327a2..bea8729 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
+# Force linking with -lpthread, working around a bug in libtool that drops
+# the linkage because it uses -nostdlib.  See #468555.
+export DEB_LDFLAGS_MAINT_APPEND = -lpthread
+
 DOCS = debian/libxmltooling-doc/usr/share/doc/libxmltooling-doc
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))

-- 
Debian packaging for XMLTooling-C



More information about the Pkg-shibboleth-devel mailing list