From 9c4a77e4577eda94aff40165c880dfb7ec3ecfdd Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 26 Jun 2012 11:36:07 +0200 Subject: Adapt to gluegen commit 9a71703904ebfec343fb2c7266343d37a2e4c3db --- src/com/jogamp/opencl/JOCLJNILibLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/jogamp/opencl') 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-.jar + addNativeJarLibs(new Class[] { JOCLJNILibLoader.class }, null, null ); } loadLibrary(libName, false, JOCLJNILibLoader.class.getClassLoader()); NativeLibrary res = NativeLibrary.open("OpenCL", JOCLJNILibLoader.class.getClassLoader()); -- cgit v1.2.3