We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423f024 commit ae918e0Copy full SHA for ae918e0
scripts/build-android/build-android
@@ -89,6 +89,9 @@ else
89
exit 128
90
fi
91
92
+# Build working copy of srt repository
93
+REPO_DIR="../.."
94
+
95
for build_target in $BUILD_TARGETS; do
96
LIB_DIR=$BASE_DIR/$build_target/lib
97
JNI_DIR=$BASE_DIR/prebuilt/$build_target
@@ -102,7 +105,7 @@ for build_target in $BUILD_TARGETS; do
102
105
cp $LIB_DIR/libmbedx509.so $JNI_DIR/libmbedx509.so
103
106
104
107
- git -C $BASE_DIR/srt clean -fd
- $SCRIPT_DIR/mksrt -n $NDK_ROOT -a $API_LEVEL -t $build_target -e $ENC_LIB -s ../.. -i $BASE_DIR/$build_target
108
+ git -C $REPO_DIR clean -fd -e scripts
109
+ $SCRIPT_DIR/mksrt -n $NDK_ROOT -a $API_LEVEL -t $build_target -e $ENC_LIB -s $REPO_DIR -i $BASE_DIR/$build_target
110
cp $LIB_DIR/libsrt.so $JNI_DIR/libsrt.so
111
done
0 commit comments