Jogamp
Bug 1268: Adapt to GlueGen commit 2034bbfac88b7d1360f9c939e173ff758f7f47ac
authorSven Gothel <sgothel@jausoft.com>
Sun, 15 Nov 2015 04:03:32 +0000 (05:03 +0100)
committerSven Gothel <sgothel@jausoft.com>
Sun, 15 Nov 2015 04:03:32 +0000 (05:03 +0100)
src/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java
src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java
src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java
src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGDynamicLibraryBundleInfo.java
src/oculusvr/classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java

index 8f033a8..d3f4c00 100644 (file)
@@ -99,6 +99,16 @@ public final class CgDynamicLibraryBundleInfo implements DynamicLibraryBundleInf
     }
 
     @Override
+    public final boolean searchToolLibInSystemPath() {
+        return true;
+    }
+
+    @Override
+    public final boolean searchToolLibSystemPathFirst() {
+        return true;
+    }
+
+    @Override
     public final List<List<String>> getToolLibNames() {
         final List<List<String>> libsList = new ArrayList<List<String>>();
         final List<String> libsCg = new ArrayList<String>();
index 6025b45..5eb4297 100644 (file)
@@ -48,7 +48,7 @@ public class DesktopGLDynamicLookupHelper extends GLDynamicLookupHelper {
             gluLibNames.add("libGLU.so"); // unix
             gluLibNames.add("GLU32"); // windows
             gluLibNames.add("GLU"); // generic
-            gluLib = loadFirstAvailable(gluLibNames, null, true);
+            gluLib = loadFirstAvailable(gluLibNames, true, true, null, true);
             if(null != gluLib) {
                 nativeLibraries.add(gluLib);
             }
index 39de320..7c75b06 100644 (file)
@@ -59,6 +59,16 @@ public abstract class GLDynamicLibraryBundleInfo implements DynamicLibraryBundle
     public boolean shallLookupGlobal() { return false; }
 
     @Override
+    public final boolean searchToolLibInSystemPath() {
+        return true;
+    }
+
+    @Override
+    public final boolean searchToolLibSystemPathFirst() {
+        return true;
+    }
+
+    @Override
     public final RunnableExecutor getLibLoaderExecutor() {
         return DynamicLibraryBundle.getDefaultRunnableExecutor();
     }
index 595fed7..6a4257a 100644 (file)
@@ -332,6 +332,16 @@ class FFMPEGDynamicLibraryBundleInfo implements DynamicLibraryBundleInfo  {
     }
 
     @Override
+    public final boolean searchToolLibInSystemPath() {
+        return true;
+    }
+
+    @Override
+    public final boolean searchToolLibSystemPathFirst() {
+        return true;
+    }
+
+    @Override
     public final List<List<String>> getToolLibNames() {
         final List<List<String>> libsList = new ArrayList<List<String>>();
 
index 86041b3..cd79409 100644 (file)
@@ -85,6 +85,16 @@ import java.util.*;
     }
 
     @Override
+    public final boolean searchToolLibInSystemPath() {
+        return true;
+    }
+
+    @Override
+    public final boolean searchToolLibSystemPathFirst() {
+        return true;
+    }
+
+    @Override
     public final List<List<String>> getToolLibNames() {
         return new ArrayList<List<String>>(); // None
     }
http://JogAmp.org git info: FAQ, tutorial and man pages.