Update compile_tdjni.sh

This commit is contained in:
Andrea Cavalli 2020-10-11 13:59:58 +02:00
parent f7838f3911
commit e43f0e23d8

View File

@ -73,11 +73,11 @@ cmake \
-DTDNATIVES_BIN_DIR=$(realpath -m ../tdjni_bin/) \
-DTDNATIVES_DOCS_BIN_DIR=$(realpath -m ../tdjni_docs/) \
-DTd_DIR=$(realpath -m ../td_bin/lib/cmake/Td/) \
-DJAVA_SRC_DIR=$(realpath -m ../generated/src/main/jni-java-src/) \
-DTDNATIVES_CPP_SRC_DIR:PATH=$(realpath -m ../generated/src/main/jni-cpp-src/) \
-DJAVA_SRC_DIR=$(realpath -m ../src/main/jni-java-src/) \
-DTDNATIVES_CPP_SRC_DIR:PATH=$(realpath -m ../src/main/jni-cpp-src/) \
-DOPENSSL_USE_STATIC_LIBS=True \
${CMAKE_EXTRA_ARGUMENTS} \
$(realpath -m ../generated/src/main/jni-cpp-src/)
$(realpath -m ../src/main/jni-cpp-src/)
# Build
echo "Compiling ${IMPLEMENTATION_NAME} jni..."