aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-02 16:17:02 +0100
committerSven Gothel <[email protected]>2020-01-02 16:17:02 +0100
commitb3dd1c7e9ea3eb8b8b4863d9befdd3303d62fe8e (patch)
treec74693c3fc23c09106a2278f2fdaa831849dec75 /make/build.xml
parentf71207c5363c5070f639b6f3e5955ac8a2ff1ed1 (diff)
native.tag.jar: include *.symbols
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml
index 1cd62ea..d87126c 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -447,6 +447,14 @@
<param name="src" value="${obj}/lib@{output.lib.name}.so" />
<param name="dest" value="${obj}/@{output.lib.name}.dll" />
</antcall>
+
+ <gluegen.make.libsymbols builddir="${build}"
+ nativelib="${obj}/${native.library.prefix}@{output.lib.name}.${native.library.suffix}"
+ symbolsfile="${obj}/${native.library.prefix}@{output.lib.name}.symbols"/>
+
+ <antcall target="gluegen.cpptasks.striplibs" inheritRefs="true">
+ <param name="libdir" value="${obj}"/>
+ </antcall>
</sequential>
</macrodef>
@@ -479,7 +487,7 @@
nativejarfile="${build}/jar/joal-natives-${os.and.arch}.jar"
manifestfile="${build}/tempversion-natives"
module="openal"
- includelibs="*joal.${native.library.suffix} *soft_oal.${native.library.suffix} *openal.${native.library.suffix} *openal*.1*.${native.library.suffix}" />
+ includelibs="*joal.${native.library.suffix} *soft_oal.${native.library.suffix} *openal.${native.library.suffix} *openal*.1*.${native.library.suffix} *.symbols" />
<!-- Produce duplicates for different configurations, since non-native-jar aliasing (Bug 1023/Bug 1024) -->
<copy file="${build}/jar/joal-natives-${os.and.arch}.jar" tofile="${build}/jar/joal-android-natives-${os.and.arch}.jar"/>
</target>