summaryrefslogtreecommitdiffstats
path: root/test/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'test/module.defs')
-rw-r--r--test/module.defs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/module.defs b/test/module.defs
index 234cb1dcf..0859ddefd 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -16,7 +16,6 @@ TEST.libs = $(LIBHB.a) $(foreach n, \
TEST.install.exe = $(PREFIX/)bin/$(notdir $(TEST.exe))
-## add libs from optional modules
ifeq (1,$(BZIP2.enabled))
TEST.libs += $(CONTRIB.build/)lib/libbz2.a
endif
@@ -41,4 +40,8 @@ ifeq ($(BUILD.system),darwin)
TEST.GCC.l += bz2 z
else ifeq ($(BUILD.system),linux)
TEST.GCC.l += bz2 z pthread dl m
+else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+ TEST.libs += $(CONTRIB.build/)lib/libpthreadGC2.a
+ TEST.GCC.D += PTW32_STATIC_LIB
+ TEST.GCC.l += iberty ws2_32
endif