From b96977a5fce7777b16ea74d50c689794235a8a1c Mon Sep 17 00:00:00 2001 From: YZBruh Date: Mon, 13 May 2024 22:58:17 +0300 Subject: [PATCH] Update vars.mk --- config/vars.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/vars.mk b/config/vars.mk index 15976ba..38d9bf2 100644 --- a/config/vars.mk +++ b/config/vars.mk @@ -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