JNI/JSSE: standardize native JNI library artifact name on OSX to .dylib instead of .jnilib

pull/152/head
Chris Conlon 2023-10-11 11:47:48 -06:00
parent 63f3497815
commit 8d3c42e96f
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@
<target name="cleanjni">
<delete>
<fileset dir="${lib.dir}" includes="*.jnilib"/>
<fileset dir="${lib.dir}" includes="*.dylib"/>
<fileset dir="${lib.dir}" includes="*.so"/>
<fileset dir="${native.dir}" includes="*.o"/>
</delete>

View File

@ -74,7 +74,7 @@ if [ "$OS" == "Darwin" ] ; then
fi
javaIncludes="-I$javaHome/include -I$javaHome/include/darwin -I$WOLFSSL_INSTALL_DIR/include"
javaLibs="-dynamiclib"
jniLibName="libwolfssljni.jnilib"
jniLibName="libwolfssljni.dylib"
cflags=""
elif [ "$OS" == "Linux" ] ; then
echo " Detected Linux host OS"