aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-10 16:52:20 +0200
committerMichael Bien <[email protected]>2010-07-10 16:52:20 +0200
commitdcbe272c504e348f4479ffaaecb185c7a42caaa3 (patch)
tree2c7f582fb9df4c37336868df8edae728c1ba8bcd
parentdad8fdfb36e81945e205be64830270d9f227385f (diff)
joal_native is now joal.
-rwxr-xr-xmake/build.xml10
-rw-r--r--src/java/com/jogamp/openal/eax/EAX.java2
-rwxr-xr-xsrc/java/com/jogamp/openal/impl/NativeLibLoader.java2
3 files changed, 7 insertions, 7 deletions
diff --git a/make/build.xml b/make/build.xml
index 70c42c6..639167f 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -504,26 +504,26 @@
<target name="c.rename.joal.lib.mingw" if="isMingw">
<!-- FIXME: this is a hack; the cpptask should have an option to change the
suffix or at least understand the override from .so to .dll -->
- <move file="${obj}/libjoal_native.so" tofile="${obj}/joal_native.dll" failonerror="false" />
+ <move file="${obj}/libjoal.so" tofile="${obj}/joal.dll" failonerror="false" />
</target>
<target name="c.rename.joal.lib.macosx" if="isOSX">
<!-- FIXME: this is a hack; the cpptask should have an option to change the
suffix or at least understand the override from dylib to jnilib -->
- <move file="${obj}/libjoal_native.dylib" tofile="${obj}/libjoal_native.jnilib" />
+ <move file="${obj}/libjoal.dylib" tofile="${obj}/libjoal.jnilib" />
</target>
<target name="c.build.joal">
<antcall target="c.build" inheritRefs="true">
<param name="c.compiler.src.files" value="c.src.files.joal"/>
- <param name="output.lib.name" value="joal_native"/>
+ <param name="output.lib.name" value="joal"/>
</antcall>
<antcall target="c.rename.joal.lib.mingw" inheritRefs="true" />
<antcall target="c.rename.joal.lib.macosx" inheritRefs="true" />
<!-- Create Java Web Start jar file from built file -->
<jar destfile="../${rootrel.build}/joal-natives-${os.and.arch}.jar">
<fileset dir="../${rootrel.build}/obj">
- <include name="*joal_native.${native.library.suffix}" />
+ <include name="*joal.${native.library.suffix}" />
</fileset>
<fileset dir="lib/${os.and.arch}">
<include name="*.${native.library.suffix}" />
@@ -624,7 +624,7 @@
- "ant -Djoal.dist.dir=../dist dist"); directories named joal-linux,
- joal-win32, and joal-macosx need to be inside that directory and each
- of those directories needs to contain the native code for that platform
- - (libjoal_native.so, joal_native.dll, or libjoal_native.jnilib).
+ - (libjoal.so, joal.dll, or libjoal.jnilib).
-->
<target name="dist.check" unless="joal.dist.dir">
<fail>
diff --git a/src/java/com/jogamp/openal/eax/EAX.java b/src/java/com/jogamp/openal/eax/EAX.java
index 93af6bc..5f97d1b 100644
--- a/src/java/com/jogamp/openal/eax/EAX.java
+++ b/src/java/com/jogamp/openal/eax/EAX.java
@@ -42,7 +42,7 @@ import java.nio.Buffer;
*/
public class EAX implements EAXConstants {
static {
- System.loadLibrary("joal_native");
+ System.loadLibrary("joal");
}
public static final int SOURCE = 0;
diff --git a/src/java/com/jogamp/openal/impl/NativeLibLoader.java b/src/java/com/jogamp/openal/impl/NativeLibLoader.java
index d4ac106..38e0e69 100755
--- a/src/java/com/jogamp/openal/impl/NativeLibLoader.java
+++ b/src/java/com/jogamp/openal/impl/NativeLibLoader.java
@@ -68,7 +68,7 @@ public class NativeLibLoader {
// implementations like nvopenal.dll and "*oal.dll".
// joal.dll matches this wildcard and a bug in OpenAL32.dll
// causes a call through a null function pointer.
- loadLibraryInternal("joal_native");
+ loadLibraryInternal("joal");
// Workaround for 4845371.
// Make sure the first reference to the JNI GetDirectBufferAddress is done