summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-02-10 16:29:19 +0000
committersr55 <[email protected]>2013-02-10 16:29:19 +0000
commit9e2e8923ea3a4b2dc21c8f0f80cfb6896238b90c (patch)
tree891423e4189a7531b3bf9f02a429fd9f451db194 /test
parent179959002020b51490dbb78b05fb4534d4de9fa1 (diff)
OpenCL: Fix a few build system issues that prevent building on platforms other than mingw.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5245 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r--test/module.defs10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/module.defs b/test/module.defs
index ba7eaf5a4..0b42129ab 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -33,6 +33,11 @@ BUILD.out += $(TEST.install.exe)
TEST.GCC.I += $(LIBHB.GCC.I)
+ifeq (1,$(FEATURE.opencl))
+ TEST.GCC.l += OpenCL
+ TEST.GCC.D += USE_OPENCL
+endif
+
ifeq ($(BUILD.system),darwin)
TEST.GCC.f += IOKit CoreServices AudioToolbox
TEST.GCC.l += iconv
@@ -44,10 +49,7 @@ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
ifeq ($(HAS.dlfcn),1)
TEST.GCC.l += dl
endif
-ifeq (1,$(FEATURE.opencl))
- TEST.GCC.l += OpenCL
- TEST.GCC.D += USE_OPENCL
-endif
+
ifeq (1,$(FEATURE.hwd))
TEST.GCC.D += USE_HWD
endif