From: Michael Olbrich Date: Fri, 31 May 2013 17:28:01 +0200 Subject: [PATCH] build and install share lib only This patch removes the static library from the dependency list for "all" and "install". This way libpcap.a is not built and tcpdump cannot link against it. Signed-off-by: Alexander Aring --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index e71d973ca448..e0debadeb837 100644 --- a/Makefile.in +++ b/Makefile.in @@ -358,7 +358,7 @@ EXTRA_DIST = \ Win32/Prj/wpcap.vcxproj \ Win32/Prj/wpcap.vcxproj.filters -all: libpcap.a shared pcap-config +all: shared pcap-config libpcap.a: $(OBJ) @rm -f $@ @@ -550,7 +550,7 @@ selpolltest: tests/selpolltest.c libpcap.a valgrindtest: tests/valgrindtest.c libpcap.a $(CC) $(FULL_CFLAGS) -I. -L. -o valgrindtest $(srcdir)/tests/valgrindtest.c libpcap.a $(LIBS) -install: install-shared install-archive pcap-config +install: install-shared pcap-config [ -d $(DESTDIR)$(libdir) ] || \ (mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir)) [ -d $(DESTDIR)$(includedir) ] || \