Update vars.mk

This commit is contained in:
2024-05-13 22:58:17 +03:00
committed by GitHub
parent 976c10593c
commit b96977a5fc

View File

@@ -29,12 +29,7 @@ CUR_DIR := $(shell pwd)
# NDK config
NDK_DIR := ../android-ndk
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
$(shell bash $(CUR_DIR)/config/ndk.sh)
ifeq ($(OS),Linux)
TOOLCHAIN := $(NDK_DIR)/toolchains/llvm/prebuilt/darwin-x86_64