diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-03-26 00:11:33 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-03-26 00:11:33 (GMT) |
commit | f07042a6cb2c0e7efdc771ce1dd026b6b6bd90ce (patch) | |
tree | 855dc18effd64ede77ef23aa8faec8cf29ccb6f2 /src/winpcap.mk | |
parent | 4e751c0bc58a02b1794fc5fa1abdef191f9a9f91 (diff) | |
download | mxe-f07042a6cb2c0e7efdc771ce1dd026b6b6bd90ce.zip mxe-f07042a6cb2c0e7efdc771ce1dd026b6b6bd90ce.tar.gz mxe-f07042a6cb2c0e7efdc771ce1dd026b6b6bd90ce.tar.bz2 |
package winpcap: workaround for gcc 4.6
Diffstat (limited to 'src/winpcap.mk')
-rw-r--r-- | src/winpcap.mk | 1 |
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' |