summaryrefslogtreecommitdiffstats
path: root/test/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'test/module.defs')
-rw-r--r--test/module.defs16
1 files changed, 14 insertions, 2 deletions
diff --git a/test/module.defs b/test/module.defs
index 85c59533c..b7c824cf9 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -54,6 +54,15 @@ BUILD.out += $(TEST.install.exe)
TEST.GCC.I += $(LIBHB.GCC.I)
+ifeq (1,$(FEATURE.opencl))
+ifeq ($(BUILD.system),darwin)
+ TEST.GCC.f += OpenCL
+else
+ TEST.GCC.l += OpenCL
+endif
+ TEST.GCC.D += USE_OPENCL
+endif
+
ifeq ($(BUILD.system),darwin)
TEST.GCC.f += IOKit CoreServices AudioToolbox
TEST.GCC.l += iconv
@@ -66,7 +75,10 @@ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
ifeq ($(HAS.dlfcn),1)
TEST.GCC.l += dl
endif
+ifeq (1,$(FEATURE.hwd))
+ TEST.GCC.D += USE_HWD
+endif
TEST.GCC.l += pthreadGC2 iconv ws2_32
TEST.GCC.D += PTW32_STATIC_LIB
- TEST.GCC.args.extra.exe++ += -static
-endif
+ TEST.GCC.args.extra.exe++ += -static
+endif # (1-mingw,$(BUILD.cross)-$(BUILD.system))