[SCM] Debian packaging for OpenSAML 2.0 branch, master, updated. debian/2.4.3-3-6-ga979396

Russ Allbery rra at debian.org
Wed Feb 1 10:01:54 UTC 2012


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

    Force linking with -lpthread to work around a libtool bug
    
    * 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 22a17b2..4bb1df2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ opensaml2 (2.4.3-4) UNRELEASED; urgency=low
   * Revert changes to add symbols file.  Due to churn in weak symbols for
     inlined functions, it doesn't appear maintainanable with existing
     tools, and for this library the shlibs behavior seems sufficient.
+  * 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 16:44:48 -0800
 
diff --git a/debian/rules b/debian/rules
index bb8e0b6..a890296 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,14 @@
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
-# For stripping the flags back out of pkgconfig.
+# 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
+
+# For stripping the flags back out of pkgconfig.  Note that $(shell) does
+# not pick up environment changes defined in the makefile, such as those
+# above, so this misses the bindnow options (unintentionally) and the
+# -lpthread option (intentionally).
 STRIP_CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
 STRIP_LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)
 

-- 
Debian packaging for OpenSAML 2.0



More information about the Pkg-shibboleth-devel mailing list