From c82282592edc95c9c5a0c13bb2f45e5a169f37a5 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 31 Oct 2019 23:13:50 -0700 Subject: [PATCH] configure.sh,darwin: fix external_build check disabled external_build will return an incorrect result for a value not explicitly set on the command line; use ! enabled instead. fixes ios build Change-Id: I48dda3a06731bc9809c2266880797e1779e4c01c --- build/make/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index fdba876..fc00a32 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1081,7 +1081,7 @@ EOF ;; darwin*) - if disabled external_build; then + if ! enabled external_build; then XCRUN_FIND="xcrun --sdk iphoneos --find" CXX="$(${XCRUN_FIND} clang++)" CC="$(${XCRUN_FIND} clang)" -- 2.7.4