Bug#1102459: cpdb-libs uselessly links -lcrypt
Source: cpdb-libs
Version: 2.0~b5-1.2
Tags: patch upstream
User: helmutg@debian.org
Usertags: libcrypt-unused
cpdb-libs links -lcrypt without using any of its symbols. As we consider
dropping libcrypt-dev from build-essential, this may cause a FTBFS.
Consider dropping the unnecessary linkage already.
Helmut
--- cpdb-libs-2.0~b5.orig/cpdb/Makefile.am
+++ cpdb-libs-2.0~b5/cpdb/Makefile.am
@@ -30,7 +30,7 @@
libcpdb_frontend_la_CPPFLAGS += $(GIOUNIX_CFLAGS)
libcpdb_frontend_la_CPPFLAGS += -I..
-libcpdb_frontend_la_LIBADD = -lpthread -lm -lcrypt
+libcpdb_frontend_la_LIBADD = -lpthread -lm
libcpdb_frontend_la_LIBADD += $(GLIB_LIBS)
libcpdb_frontend_la_LIBADD += $(GIO_LIBS)
libcpdb_frontend_la_LIBADD += $(GIOUNIX_LIBS)
Reply to: