summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/os/NativeLibrary.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-06-10 06:13:06 +0200
committerSven Gothel <[email protected]>2010-06-10 06:13:06 +0200
commit555091d37a9a44fb7c35479ddecfee358a559e90 (patch)
tree350a3b9b7f55db85dcf3a808f0249bcd0ab32a74 /src/java/com/jogamp/common/os/NativeLibrary.java
parent710d86d31cd278583ee3d74b36595f4148a72133 (diff)
Adding DynamicLibraryBundle utility to bundle Tool and JNI native library loading and lookup
Add JNILibLoaderBase.loadLibrary(String libname, boolean ignoreError); DynamicLibraryBundle provides Tool and JNI native library loading and lookup New classes: com.jogamp.common.os.DynamicLibraryBundle com.jogamp.common.os.DynamicLibraryBundleInfo com.jogamp.common.util.MiscUtils.java Change: DEBUG/VERBOSE properties 'gluegen' -> 'jogamp'
Diffstat (limited to 'src/java/com/jogamp/common/os/NativeLibrary.java')
-rwxr-xr-xsrc/java/com/jogamp/common/os/NativeLibrary.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/NativeLibrary.java b/src/java/com/jogamp/common/os/NativeLibrary.java
index 897e240..97aabae 100755
--- a/src/java/com/jogamp/common/os/NativeLibrary.java
+++ b/src/java/com/jogamp/common/os/NativeLibrary.java
@@ -62,7 +62,8 @@ public class NativeLibrary implements DynamicLookupHelper {
private static final int WINDOWS = 1;
private static final int UNIX = 2;
private static final int MACOSX = 3;
- private static boolean DEBUG;
+ protected static boolean DEBUG;
+ protected static boolean DEBUG_LOOKUP;
private static int platform;
private static DynamicLinker dynLink;
private static String[] prefixes;
@@ -81,7 +82,8 @@ public class NativeLibrary implements DynamicLookupHelper {
platform = UNIX;
}
- DEBUG = (System.getProperty("gluegen.debug.NativeLibrary") != null);
+ DEBUG = (System.getProperty("jogamp.debug.NativeLibrary") != null);
+ DEBUG_LOOKUP = (System.getProperty("jogamp.debug.NativeLibrary.Lookup") != null);
return null;
}