summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/winpcap.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winpcap.mk b/src/winpcap.mk
index 2416a46..5391aec 100644
--- a/src/winpcap.mk
+++ b/src/winpcap.mk
@@ -36,6 +36,7 @@ define $(PKG)_BUILD
$(SED) -i 's,(char\*)tUstr +=,tUstr +=,' '$(1)/wpcap/libpcap/inet.c'
$(SED) -i 's,-DHAVE_AIRPCAP_API,,' '$(1)/wpcap/PRJ/GNUmakefile'
$(SED) -i 's,/common,/Common,' '$(1)/wpcap/PRJ/GNUmakefile'
+ $(SED) -i 's,-mno-cygwin,,' '$(1)/wpcap/PRJ/GNUmakefile'
echo -e 'libwpcap.a: $${OBJS}' >> '$(1)/wpcap/PRJ/GNUmakefile'
echo -e '\t$${AR} rc $$@ $${OBJS}' >> '$(1)/wpcap/PRJ/GNUmakefile'
echo -e '\t$${RANLIB} $$@' >> '$(1)/wpcap/PRJ/GNUmakefile'