Skip to content
Snippets Groups Projects
Commit b1d41af8 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

build: simplify windows handling

parent 9acfd02e
No related branches found
No related tags found
1 merge request!104build: make compile-liblvc.sh a standalone script
......@@ -111,14 +111,12 @@ NDK_TOOLCHAIN_PATH=${NDK_TOOLCHAIN_DIR}/bin
CROSS_TOOLS=${NDK_TOOLCHAIN_PATH}/${TARGET_TUPLE}-
export PATH="${NDK_TOOLCHAIN_PATH}:${PATH}"
ON_WINDOWS=0
NDK_BUILD=$ANDROID_NDK/ndk-build
if [ ! -z "$MSYSTEM_PREFIX" ] ; then
# The make.exe and awk.exe from the toolchain don't work in msys
export PATH="$MSYSTEM_PREFIX/bin:/usr/bin:${NDK_TOOLCHAIN_PATH}:${PATH}"
ON_WINDOWS=1
OSCMD=.cmd
NDK_BUILD=$NDK_BUILD.cmd
fi
NDK_BUILD=$ANDROID_NDK/ndk-build$OSCMD
##########
# CFLAGS #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment