summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/module.defs2
-rw-r--r--make/configure.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 473a058ca..11b8a22c6 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -54,7 +54,7 @@ else ifeq ($(BUILD.system),linux)
LIBHB.GCC.D += SYS_LINUX _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
else ifeq ($(BUILD.system),mingw)
LIBHB.GCC.D += SYS_MINGW
-ifeq ($(HAS.pthreadGC2),1)
+ifneq ($(HAS.pthread),1)
LIBHB.GCC.D += PTW32_STATIC_LIB
endif
LIBHB.GCC.args.extra.dylib++ += -Wl,--enable-auto-import -static
diff --git a/make/configure.py b/make/configure.py
index e1e8e4d66..5f155fd70 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1732,10 +1732,10 @@ int main()
doc.addBlank()
if not dlfcn.fail:
doc.add( 'HAS.dlfcn', 1 )
- if not pthread.fail:
- doc.add( 'HAS.pthread', 1 )
if not pthreadGC2.fail:
doc.add( 'HAS.pthreadGC2', 1 )
+ elif not pthread.fail:
+ doc.add( 'HAS.pthread', 1 )
if not bz2.fail:
doc.add( 'HAS.bz2', 1 )
if not libz.fail: