Author: tille Date: 2015-03-09 13:18:01 +0000 (Mon, 09 Mar 2015) New Revision: 18938
Added: trunk/packages/libzeep/trunk/debian/patches/linking-order.diff Modified: trunk/packages/libzeep/trunk/debian/changelog trunk/packages/libzeep/trunk/debian/patches/series Log: fix linking order for ld --as-needed Modified: trunk/packages/libzeep/trunk/debian/changelog =================================================================== --- trunk/packages/libzeep/trunk/debian/changelog 2015-03-09 13:14:31 UTC (rev 18937) +++ trunk/packages/libzeep/trunk/debian/changelog 2015-03-09 13:18:01 UTC (rev 18938) @@ -4,6 +4,9 @@ * debhelper 9 * cme fix dpkg-control * fix Homepage + * fix linking order for ld --as-needed (Thanks for the patch to Logan Rosen + <[email protected]>) + Closes: #773339 -- Andreas Tille <[email protected]> Mon, 09 Mar 2015 14:09:19 +0100 Added: trunk/packages/libzeep/trunk/debian/patches/linking-order.diff =================================================================== --- trunk/packages/libzeep/trunk/debian/patches/linking-order.diff (rev 0) +++ trunk/packages/libzeep/trunk/debian/patches/linking-order.diff 2015-03-09 13:18:01 UTC (rev 18938) @@ -0,0 +1,18 @@ +Author: Logan Rosen <[email protected]> +Last-Update: Wed, 17 Dec 2014 02:40:34 -0500 +Bugs-Debian: http://bugs.debian.org/773339 +Description: fix linking order for ld --as-needed + You can read more about this option here: + https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries + +--- a/makefile ++++ b/makefile +@@ -62,7 +62,7 @@ + ld -r -o $@ $(OBJECTS) + + $(LIB_NAME): $(OBJECTS) +- $(CXX) -shared -o $@ -Wl,-soname=$(SO_NAME) $(LDFLAGS) $(OBJECTS) ++ $(CXX) -shared -o $@ -Wl,-soname=$(SO_NAME) $(OBJECTS) $(LDFLAGS) + + $(SO_NAME): $(LIB_NAME) + ln -fs $(LIB_NAME) $@ Modified: trunk/packages/libzeep/trunk/debian/patches/series =================================================================== --- trunk/packages/libzeep/trunk/debian/patches/series 2015-03-09 13:14:31 UTC (rev 18937) +++ trunk/packages/libzeep/trunk/debian/patches/series 2015-03-09 13:18:01 UTC (rev 18938) @@ -1,2 +1,3 @@ hurd-patch makefile.diff +linking-order.diff _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
