Skip to content
Snippets Groups Projects
  • Göktürk Yüksek's avatar
    ff9ba68b
    bindings/java/build-unix.xml: do not check for the static library presence · ff9ba68b
    Göktürk Yüksek authored
    When the build system is configured with '--enable-java
    --disable-static', it will not generate the 'libtsk_jni.a' file, even
    though the shared library (.so file) is still created. This
    configuration results in ant failing with "JNI native library not
    built". However, the check for the static library is not meaningful
    since only the shared library is of interest for the JNI.
    
    Rewrite the logic so that it checks for the presence of either the
    dylib or the so file.
    ff9ba68b
    History
    bindings/java/build-unix.xml: do not check for the static library presence
    Göktürk Yüksek authored
    When the build system is configured with '--enable-java
    --disable-static', it will not generate the 'libtsk_jni.a' file, even
    though the shared library (.so file) is still created. This
    configuration results in ant failing with "JNI native library not
    built". However, the check for the static library is not meaningful
    since only the shared library is of interest for the JNI.
    
    Rewrite the logic so that it checks for the presence of either the
    dylib or the so file.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.