diff options
author | Sven Gothel <[email protected]> | 2013-06-16 19:16:31 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-06-16 19:16:31 +0200 |
commit | 5d211c6fa6a0452cc4569712e436184e34504a88 (patch) | |
tree | bdd90a5b7ccad4a3b62350c0b6699d3e0c66a92a /src/java/com/jogamp/common | |
parent | d01cb422c4621fbc1b5ea2bcd7d19f3ff8602715 (diff) |
Fix DynamicLinker Impl: Add Bionic specialization using Bionic's non POSIX values; Using same pattern for Mac OS X.
Add Bionic specialization using Bionic's non POSIX values
- derive from UnixDynamicLinkerImpl
- specify own flag and mode values
- use UnixDynamicLinkerImpl native code
Using same pattern for Mac OS X
- derive from UnixDynamicLinkerImpl
- specify own flag and mode values
- use UnixDynamicLinkerImpl native code
- drop MacOSXDynamicLinkerImpl native code
Diffstat (limited to 'src/java/com/jogamp/common')
-rw-r--r-- | src/java/com/jogamp/common/os/NativeLibrary.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/os/NativeLibrary.java b/src/java/com/jogamp/common/os/NativeLibrary.java index 2351391..bfc5b07 100644 --- a/src/java/com/jogamp/common/os/NativeLibrary.java +++ b/src/java/com/jogamp/common/os/NativeLibrary.java @@ -43,6 +43,7 @@ package com.jogamp.common.os; import com.jogamp.common.util.IOUtil; import com.jogamp.common.util.cache.TempJarCache; +import jogamp.common.os.BionicDynamicLinkerImpl; import jogamp.common.os.MacOSXDynamicLinkerImpl; import jogamp.common.os.PlatformPropsImpl; import jogamp.common.os.UnixDynamicLinkerImpl; @@ -87,9 +88,14 @@ public class NativeLibrary implements DynamicLookupHelper { suffixes = new String[] { ".dylib", ".jnilib" }; break; + case ANDROID: + dynLink = new BionicDynamicLinkerImpl(); + prefixes = new String[] { "lib" }; + suffixes = new String[] { ".so" }; + break; + /* case FREEBSD: - case DALVIK: case SUNOS: case HPUX: case OPENKODE: |