diff --git a/config/vars.mk b/config/vars.mk index 76e0950..4b14389 100644 --- a/config/vars.mk +++ b/config/vars.mk @@ -29,7 +29,7 @@ CUR_DIR := $(shell pwd) # NDK config NDK_DIR := "../android-ndk" -$(shell "source "$(CUR_DIR)/config/ndk.sh"") +$(shell "cd $(CUR_DIR)/config && ./ndk.sh && cd $(CUR_DIR)") ifeq ($(OS),Linux) TOOLCHAIN := $(NDK_DIR)/toolchains/llvm/prebuilt/darwin-x86_64