diff options
author | Michael Bien <[email protected]> | 2010-05-17 02:11:54 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-05-17 02:11:54 +0200 |
commit | 0b5773abc6e112a1360816a3a7fa5189b7fd2474 (patch) | |
tree | 647666aec2570dbaae81fa90aaf14c3877d524aa /build.xml | |
parent | 0f153ade9cc0ea81121d978136b0002e4df3eda5 (diff) |
added linker.cfg.win64.mingw.jocl linker config.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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" /> |