fix library ordering for static linking; ok jcs@
This commit is contained in:
parent
e95c0ced6a
commit
2352f3a406
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-Makefile,v 1.5 2005/05/23 23:58:03 mjc Exp $
|
||||
--- Makefile.orig Fri Sep 24 10:43:37 2004
|
||||
+++ Makefile Sun May 22 14:11:27 2005
|
||||
$OpenBSD: patch-Makefile,v 1.6 2009/03/23 19:28:52 naddy Exp $
|
||||
--- Makefile.orig Fri Sep 24 11:43:37 2004
|
||||
+++ Makefile Mon Mar 23 12:15:03 2009
|
||||
@@ -19,9 +19,9 @@ SOLARIS=0
|
||||
FREEBSD=0
|
||||
MACOSX=0
|
||||
@ -31,7 +31,7 @@ $OpenBSD: patch-Makefile,v 1.5 2005/05/23 23:58:03 mjc Exp $
|
||||
O_arping=arping.o
|
||||
arping1-make: $(O_arping)
|
||||
- $(CC) $(CFLAGS) -g -o arping $(O_arping) `libnet-config --libs` -lpcap
|
||||
+ $(CC) `libnet-config-1.0 --libs` $(CFLAGS) -g -o arping $(O_arping) -lpcap
|
||||
+ $(CC) $(CFLAGS) -g -o arping $(O_arping) `libnet-config-1.0 --libs` -lpcap
|
||||
|
||||
SYS=$(shell uname -s)
|
||||
-ifeq ($(SYS),SunOS)
|
||||
|
Loading…
Reference in New Issue
Block a user