[Pkg-jed-commit] [SCM] slang-slirp branch, master, updated. bf938c5b6f753c0e31010ed919882b35fb3f5260

Jörg Sommer joerg at alea.gnuu.de
Sat Feb 27 10:51:29 UTC 2010


The following commit has been merged in the master branch:
commit c90ec34bb05371cac6fb9041d121f96561c32cdb
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date:   Tue Feb 23 21:53:18 2010 +0100

    Don't link binaries with unused libraries
    
    dpkg-shlibdeps warned about the linking of slirpsh with libdl and libm,
    even if no symbols of these libraries are used. These libraries might be
    needed on other OS', hence upstream links with them.

diff --git a/debian/rules b/debian/rules
index 149be41..c00f75b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-warnings
 DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-fPIC -g -Wall -O2" FCFLAGS="-fPIC -g -O2"
 
-DEB_MAKE_BUILD_TARGET := all RPATH=
+DEB_MAKE_BUILD_TARGET := all RPATH= SO_DEP_LIBS=-lc
 DEB_MAKE_INSTALL_TARGET := install RPATH= DESTDIR=$(DEB_DESTDIR)
 DEB_MAKE_CHECK_TARGET := test
 DEB_INSTALL_CHANGELOGS_ALL = CHANGELOG

-- 
slang-slirp



More information about the Pkg-jed-commit mailing list