gentoo/net-analyzer/synscan/files/synscan-5.02-lld.patch
Ionen Wolkens d7b3bf2ee1
net-analyzer/synscan: EAPI7->8, fix w/ lld
Closes: https://bugs.gentoo.org/875017
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2022-11-28 18:59:34 -05:00

10 lines
315 B
Diff

lld does not ignore erroneous libdirs (ideally should use pkg-config)
https://bugs.gentoo.org/875017
--- a/configure.in
+++ b/configure.in
@@ -60,3 +60,3 @@
CFLAGS="$CFLAGS -I${prefix}/include"
- LIBS="$LIBS -L${prefix}/lib -lpcap"
+ LIBS="$LIBS -lpcap"
elif test -f /usr/include/pcap/pcap.h; then