1 ngrep: fix static link with pcre
3 Libraries must be placed after object files.
5 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/Makefile.in b/Makefile.in
11 index 2ae4506..761d7d9 100644
14 @@ -11,7 +11,7 @@ CFLAGS=@CFLAGS@ -D@OS@ @DEFS@ @EXTRA_DEFINES@
15 INCLUDES=-I@srcdir@ @PCAP_INCLUDE@ @EXTRA_INCLUDES@
17 LDFLAGS=@LDFLAGS@ @PCAP_LINK@
18 -LIBS=-lpcap @EXTRA_LIBS@
19 +LIBS=@LIBS@ @EXTRA_LIBS@