summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-05-17 01:54:01 +0200
committerMichael Bien <[email protected]>2010-05-17 01:54:01 +0200
commit0f153ade9cc0ea81121d978136b0002e4df3eda5 (patch)
treee099dafe80a6fe41771deeb1978e56589c9cb3fc /build.xml
parent6ff9c05d0a2f5d6131d775840470371cf0090896 (diff)
splitted opencl.lib.dir into opencl.lib32.dir and opencl.lib64.dir.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 5108f07a..22714c01 100644
--- a/build.xml
+++ b/build.xml
@@ -177,18 +177,18 @@
<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.lib.dir"/>
- <syslibset dir="${opencl.lib.dir}" libs="OpenCL" if="opencl.lib.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.lib.dir"/>
- <syslibset dir="${opencl.lib.dir}" libs="OpenCL" if="opencl.lib.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>
<linker id="linker.cfg.win32.mingw.jocl" extends="linker.cfg.win32.mingw">
<linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names -->
- <syslibset dir="${opencl.lib.dir}" libs="OpenCL" if="static.binding"/>
+ <syslibset dir="${opencl.lib32.dir}" libs="OpenCL" if="static.binding"/>
</linker>
<linker id="linker.cfg.macosx.jocl" extends="linker.cfg.macosx">