Skip to content
Snippets Groups Projects
Commit f9f95db3 authored by Lyubomir Marinov's avatar Lyubomir Marinov
Browse files

Disallows undefined references in JNI library jnscreencapture.

parent 88517a6c
No related branches found
No related tags found
No related merge requests found
...@@ -168,11 +168,13 @@ ...@@ -168,11 +168,13 @@
depends="init-native"> depends="init-native">
<cc outtype="shared" name="gcc" outfile="${native_install_dir}/jnscreencapture" objdir="${obj}"> <cc outtype="shared" name="gcc" outfile="${native_install_dir}/jnscreencapture" objdir="${obj}">
<!-- common compiler flags --> <!-- common compiler flags -->
<compilerarg value="-std=c99" />
<compilerarg value="-D_XOPEN_SOURCE=600" /> <compilerarg value="-D_XOPEN_SOURCE=600" />
<compilerarg value="-O3" />
<compilerarg value="-std=c99" />
<compilerarg value="-Wall" /> <compilerarg value="-Wall" />
<compilerarg value="-Wextra" /> <compilerarg value="-Wextra" />
<compilerarg value="-O3" />
<linkerarg value="-Wl,--no-undefined" />
<!-- Linux specific flags --> <!-- Linux specific flags -->
<compilerarg value="-m32" if="cross_32" unless="is.running.macos" /> <compilerarg value="-m32" if="cross_32" unless="is.running.macos" />
...@@ -589,7 +591,6 @@ ...@@ -589,7 +591,6 @@
<compilerarg value="-Wall" /> <compilerarg value="-Wall" />
<linkerarg value="-L${speex}/libspeex/.libs" /> <linkerarg value="-L${speex}/libspeex/.libs" />
<linkerarg value="-Wl,--no-undefined" />
<!-- Linux specific flags --> <!-- Linux specific flags -->
<compilerarg value="-m32" if="cross_32" unless="is.running.macos" /> <compilerarg value="-m32" if="cross_32" unless="is.running.macos" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment