Update vars.mk
This commit is contained in:
@@ -29,12 +29,7 @@ CUR_DIR := $(shell pwd)
|
|||||||
|
|
||||||
# NDK config
|
# NDK config
|
||||||
NDK_DIR := ../android-ndk
|
NDK_DIR := ../android-ndk
|
||||||
|
$(shell bash $(CUR_DIR)/config/ndk.sh)
|
||||||
ifeq ($(wildcard, $(NDK_DIR)),)
|
|
||||||
ifeq "$(origin CC)" "default"
|
|
||||||
@printf "Warning: NDK directory not found. And the current configuration may create problems. Set the CC variable in the build command.\n\n"
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(OS),Linux)
|
ifeq ($(OS),Linux)
|
||||||
TOOLCHAIN := $(NDK_DIR)/toolchains/llvm/prebuilt/darwin-x86_64
|
TOOLCHAIN := $(NDK_DIR)/toolchains/llvm/prebuilt/darwin-x86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user