summaryrefslogtreecommitdiff
path: root/net/nemesis/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/nemesis/patches/patch-aa')
-rw-r--r--net/nemesis/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/nemesis/patches/patch-aa b/net/nemesis/patches/patch-aa
new file mode 100644
index 00000000000..19cdc08c21e
--- /dev/null
+++ b/net/nemesis/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/11 15:37:55 agc Exp $
+
+Make sure that ELF libs are linked into the binary properly
+
+--- Makefile.in.orig Sun Jun 10 01:15:24 2001
++++ Makefile.in Thu Oct 11 16:30:18 2001
+@@ -39,7 +39,7 @@
+ #
+ DEFINES += @OS_S_DEFINES@ `libnet-config --defines`
+ CFLAGS = @CFLAGS@ -I@prefix@/include
+-LIBS = -L@prefix@/lib -lnet -lpcap @ADDITIONAL_LIBS@
++LIBS = -L@prefix@/lib -Wl,-R@prefix@/lib -lnet `libnet-config --libs` -lpcap @ADDITIONAL_LIBS@
+
+ ARP_OBJ = nemesis-arp.o nemesis-proto_arp.o
+ DNS_OBJ = nemesis-dns.o nemesis-proto_dns.o