Patchwork [09/11] build: do not link plug-ins against .so libs

login
register
mail settings
Submitter Chuck Lever
Date July 2, 2013, 7:31 p.m.
Message ID <20130702193133.48202.76850.stgit@manray.1015granger.net>
Download mbox | patch
Permalink /patch/256492/
State Accepted
Headers show

Comments

Chuck Lever - July 2, 2013, 7:31 p.m.
From: David Disseldorp <ddiss@suse.de>

Binaries using the plug-ins static library will need to link against
required shared libraries themselves.

Signed-off-by: David Disseldorp <ddiss@suse.de>
---
 src/plug-ins/Makefile.am |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Patch

diff --git a/src/plug-ins/Makefile.am b/src/plug-ins/Makefile.am
index b804fce..cf40c8a 100644
--- a/src/plug-ins/Makefile.am
+++ b/src/plug-ins/Makefile.am
@@ -25,10 +25,7 @@ 
 
 lib_LTLIBRARIES		= libnfsjunct.la
 libnfsjunct_la_SOURCES	= nfs-plugin.c
-libnfsjunct_la_LIBADD	= $(LIBLDAP) $(LIBLBER) $(LIBXML2) \
-			  $(LIBSQLITE3) $(LIBIDN) $(LIBUUID) \
-			  $(LIBURIPARSER) $(LIBCRYPTO) $(LIBSSL) \
-			  $(top_builddir)/src/libnsdb/libnsdb.la \
+libnfsjunct_la_LIBADD	= $(top_builddir)/src/libnsdb/libnsdb.la \
 			  $(top_builddir)/src/libxlog/libxlog.la \
 			  $(top_builddir)/src/libjunction/libjunction.la