[Debian-astro-commits] [funtools] 02/03: Remove unneeded libs -ldl -lz from program linking
Ole Streicher
olebole at moszumanska.debian.org
Thu Jun 23 11:20:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository funtools.
commit 508600971b94024f67d78b7d8e28524b3fba4e9b
Author: Ole Streicher <ole at aip.de>
Date: Thu Jun 23 13:10:14 2016 +0200
Remove unneeded libs -ldl -lz from program linking
---
debian/patches/link_to_so.patch | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/debian/patches/link_to_so.patch b/debian/patches/link_to_so.patch
index 85a47e4..2993ed4 100644
--- a/debian/patches/link_to_so.patch
+++ b/debian/patches/link_to_so.patch
@@ -40,3 +40,30 @@ Description: Link the executables agains libfuntools.so and link libfuntools.so
CPLUSPLUS=0
STATIC=0
DLOPEN=0
+--- a/configure.ac
++++ b/configure.ac
+@@ -79,7 +79,7 @@
+
+ AC_MSG_CHECKING(for external zlib)
+ AC_ARG_WITH(zlib, [ --with-zlib=LIB library name],
+- zlib=yes EXTRA_LIBS="$EXTRA_LIBS $withval", zlib=no)
++ zlib=yes, zlib=no)
+ AC_MSG_RESULT($zlib)
+
+ AC_MSG_CHECKING(for external wcslib)
+@@ -99,7 +99,6 @@
+ if test "$have_dl" = yes; then
+ using_shlib="yes"
+ fpic="yes"
+- EXTRA_LIBS="$EXTRA_LIBS -ldl"
+ if test `$CC -v -rdynamic 2>&1 | grep -c unrecognized` = "0" ; then
+ LDFLAGS="$LDFLAGS -rdynamic"
+ fi
+@@ -136,7 +135,6 @@
+ if test "$have_dl" = yes; then
+ USE_DL="-DUSE_DL=1"
+ fpic="yes"
+- EXTRA_LIBS="$EXTRA_LIBS -ldl"
+ if test `$CC -v -rdynamic 2>&1 | grep -c unrecognized` = "0" ; then
+ LDFLAGS="$LDFLAGS -rdynamic"
+ fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/funtools.git
More information about the Debian-astro-commits
mailing list