Fix leftover '-lpthread'.

ok fgsch@
This commit is contained in:
dcoppa 2011-06-01 08:16:15 +00:00
parent 175dd30580
commit c8e4c421e1
2 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2011/05/21 11:19:24 fgsch Exp $
# $OpenBSD: Makefile,v 1.6 2011/06/01 08:16:15 dcoppa Exp $
COMMENT= 802.11 WEP and WPA-PSK keys cracking program
DISTNAME= aircrack-ng-1.1
REVISION= 0
CATEGORIES= security
HOMEPAGE= http://www.aircrack-ng.org/

View File

@ -1,5 +1,5 @@
--- src/Makefile.orig Sat Feb 13 22:32:28 2010
+++ src/Makefile Sun May 1 08:03:24 2011
--- src/Makefile.orig Sat Feb 13 23:32:28 2010
+++ src/Makefile Tue May 31 19:45:28 2011
@@ -99,16 +99,16 @@ LIBOSD = $(OSD)/lib$(OSD).a
LIBSSL = -lssl -lcrypto $(LDFLAGS)
LIBSQL =
@ -47,6 +47,15 @@
airdecap-ng$(EXE): $(OBJS_AD)
$(CC) $(CFLAGS) $(OBJS_AD) -o $(@) $(LIBSSL)
@@ -152,7 +152,7 @@ aireplay-ng$(EXE): $(OBJS_AR) $(LIBOSD)
$(CC) $(CFLAGS) $(OBJS_AR) -o $(@) $(LIBS) $(LIBSSL)
airodump-ng$(EXE): $(OBJS_ADU) $(LIBOSD)
- $(CC) $(CFLAGS) $(OBJS_ADU) -o $(@) $(LIBS) $(LIBSSL) -lpthread
+ $(CC) $(CFLAGS) $(OBJS_ADU) -o $(@) $(LIBS) $(LIBSSL) -pthread
airserv-ng$(EXE): $(OBJS_AS) $(LIBOSD)
$(CC) $(CFLAGS) $(OBJS_AS) -o $(@) $(LIBS) $(LIBPCAP)
@@ -182,7 +182,7 @@ airolib-ng$(EXE): $(OBJS_AL)
$(CC) $(CFLAGS) $(OBJS_AL) -o $(@) $(LIBSSL) -DHAVE_REGEXP $(LIBSQL)