From 5d211c6fa6a0452cc4569712e436184e34504a88 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 16 Jun 2013 19:16:31 +0200 Subject: 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 --- src/java/com/jogamp/common/os/NativeLibrary.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/java/com') 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: -- cgit v1.2.3