aboutsummaryrefslogtreecommitdiff
path: root/configure.seed
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-09-20 18:33:40 +0200
committerGitHub <noreply@github.com>2020-09-20 18:33:40 +0200
commit1385f05713045b846f5a830cfc23eabd5f71e70d (patch)
tree0f95d7f1cd5ea9d1053280d317a247cb4e2f083f /configure.seed
parent6a7139bb24c4835604641262a07becee637a9e53 (diff)
parentd0052fd5b2c48c8ab344d17bf4b603e80b6e1a29 (diff)
Merge pull request #1017 from lnslbrty/fix/mingw-xcompile
Added support for mingw xcompile.
Diffstat (limited to 'configure.seed')
-rw-r--r--configure.seed2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.seed b/configure.seed
index b6fb04c29..37a269943 100644
--- a/configure.seed
+++ b/configure.seed
@@ -108,6 +108,7 @@ case "$host" in
*-*-mingw32*|*-*-msys)
CFLAGS="${CFLAGS} -DOS_WIN32"
LDFLAGS="${LDFLAGS} -lws2_32 -lucrtbase"
+ BUILD_MINGW=1
;;
*)
if test -f $PCAP_HOME/libpcap/libpcap.a; then :
@@ -206,4 +207,5 @@ AC_SUBST(HAVE_PTHREAD_SETAFFINITY_NP)
AC_SUBST(CUSTOM_NDPI)
AC_SUBST(NDPI_API_VERSION)
AC_SUBST(EXTRA_TARGETS)
+AC_SUBST(BUILD_MINGW)
AC_OUTPUT