Kotlin 1.4-M3, fixed CI glitches & fixed build on Mac (#4)
* Kotlin 1.4-M3, fixed CI glitches & fixed build on Mac * Fixes https://github.com/eskatos/gradle-command-action/issues/24 * Explicit mode requirements in Android tests Co-authored-by: Salomon BRYS <salomon@kodein.net>
This commit is contained in:
@@ -14,13 +14,12 @@ JNI_HEADERS=$TARGET
|
||||
|
||||
if [ "$TARGET" == "linux" ]; then
|
||||
OUTFILE=libsecp256k1-jni.so
|
||||
[ "$CROSS" == "1" ] && sudo apt -y install libgmp-dev
|
||||
ADD_LIB=-lgmp
|
||||
CC_OPTS="-fPIC"
|
||||
elif [ "$TARGET" == "darwin" ]; then
|
||||
OUTFILE=libsecp256k1-jni.dylib
|
||||
if [ -z "$CROSS_TRIPLE" ]; then
|
||||
ADD_LIB=-lgmp
|
||||
fi
|
||||
ADD_LIB=-lgmp
|
||||
elif [ "$TARGET" == "mingw" ]; then
|
||||
OUTFILE=secp256k1-jni.dll
|
||||
CC=/usr/src/mxe/usr/bin/x86_64-w64-mingw32.static-gcc
|
||||
|
||||
Reference in New Issue
Block a user