diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/jogamp/opencl/JOCLJNILibLoader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/JOCLJNILibLoader.java b/src/com/jogamp/opencl/JOCLJNILibLoader.java index 73c42d2d..83ca22d6 100644 --- a/src/com/jogamp/opencl/JOCLJNILibLoader.java +++ b/src/com/jogamp/opencl/JOCLJNILibLoader.java @@ -56,7 +56,8 @@ class JOCLJNILibLoader extends JNILibLoaderBase { // eg.: jogamp.opengl.GLDynamicLibraryBundleInfo etc. final String libName = "jocl"; if(TempJarCache.isInitialized() && null == TempJarCache.findLibrary(libName)) { - addNativeJarLibs(JOCLJNILibLoader.class, "jocl", null ); + // only: jocl.jar -> jocl-natives-<os.and.arch>.jar + addNativeJarLibs(new Class<?>[] { JOCLJNILibLoader.class }, null, null ); } loadLibrary(libName, false, JOCLJNILibLoader.class.getClassLoader()); NativeLibrary res = NativeLibrary.open("OpenCL", JOCLJNILibLoader.class.getClassLoader()); |