buildroot/package/ngrep
Romain Naour 6d3b4faca9 ngrep: fix static linking issue with libpcre
Adding -lpcre in LDFLAGS place the library before object files:
gcc ... -lpcre -L.../sysroot/usr/lib -s -o ngrep ngrep.o -lpcap

Makefile.in is patched to use @LIBS@ for adding -lpcre in the right place.

Fixes:
http://autobuild.buildroot.net/results/684/684a3bed28d13ef5e5156257aade3b9aff32f180

[Peter: fixup patch description]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-04 21:55:17 +01:00
..
Config.in new package: ngrep (lightweight alternative to tcpdump) 2011-09-26 10:04:47 +02:00
ngrep-0001-make-objs.patch ngrep: rename existing patch 2013-11-02 18:32:48 +01:00
ngrep-0002-pcre-header.patch ngrep: rename existing patch 2013-11-02 18:32:48 +01:00
ngrep-0003-fix-static-link.patch ngrep: fix static linking issue with libpcre 2013-11-04 21:55:17 +01:00
ngrep.mk ngrep: fix static linking issue with libpcre 2013-11-04 21:55:17 +01:00