summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-05-17 02:11:54 +0200
committerMichael Bien <[email protected]>2010-05-17 02:11:54 +0200
commit0b5773abc6e112a1360816a3a7fa5189b7fd2474 (patch)
tree647666aec2570dbaae81fa90aaf14c3877d524aa /build.xml
parent0f153ade9cc0ea81121d978136b0002e4df3eda5 (diff)
added linker.cfg.win64.mingw.jocl linker config.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 22714c01..1e07ec10 100644
--- a/build.xml
+++ b/build.xml
@@ -177,12 +177,12 @@
<target name="jocl.configure.linker">
<linker id="linker.cfg.linux.jocl" extends="linker.cfg.linux">
- <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib32.dir"/>
+ <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib32.dir"/>
<syslibset dir="${opencl.lib32.dir}" libs="OpenCL" if="opencl.lib32.dir"/>
</linker>
<linker id="linker.cfg.linux.amd64.jocl" extends="linker.cfg.linux.amd64" >
- <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib64.dir"/>
+ <syslibset dir="/usr/lib" libs="OpenCL" if="static.binding" unless="opencl.lib64.dir"/>
<syslibset dir="${opencl.lib64.dir}" libs="OpenCL" if="opencl.lib64.dir"/>
</linker>
@@ -191,6 +191,11 @@
<syslibset dir="${opencl.lib32.dir}" libs="OpenCL" if="static.binding"/>
</linker>
+ <linker id="linker.cfg.win64.mingw.jocl" extends="linker.cfg.win64.mingw">
+ <linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names -->
+ <syslibset dir="${opencl.lib64.dir}" libs="OpenCL" if="static.binding"/>
+ </linker>
+
<linker id="linker.cfg.macosx.jocl" extends="linker.cfg.macosx">
<linkerarg value="-framework" />
<linkerarg value="OpenCL" />