Skip to content

Commit f33a5e5

Browse files
Fixed check for gcc
1 parent 1c30e25 commit f33a5e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library-jni/jni/build_android.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ function setup_paths
7474
export PKG_CONFIG_LIBDIR=$(pwd)/$PREFIX/lib/pkgconfig/
7575
export PKG_CONFIG_PATH=$(pwd)/$PREFIX/lib/pkgconfig/
7676

77-
if [ ! -f $CC ]; then
78-
print "Gcc does not exists in path: $CC"
77+
if [ ! -f "${CROSS_COMPILE}gcc" ]; then
78+
echo "Gcc does not exists in path: ${CROSS_COMPILE}gcc"
7979
exit 1;
8080
fi
8181
}

0 commit comments

Comments
 (0)