Fixed SDK path initialization in tests.mk.
Change on 2017/06/06 by tball
@@ -53,7 +53,8 @@ else
J2OBJCC := ../dist/j2objcc
endif
-TEST_JOCC := $(J2OBJCC) -g $(WARNINGS) -isysroot `xcrun --show-sdk-path`
+SDK_PATH = $(shell xcrun --show-sdk-path)
+TEST_JOCC := $(J2OBJCC) -g $(WARNINGS) -isysroot $(SDK_PATH)
LINK_FLAGS := -ljre_emul -l junit -L$(TESTS_DIR) -l test-support
COMPILE_FLAGS := $(INCLUDE_ARGS) -c -Wno-objc-redundant-literal-use -Wno-format -Werror \
-Wno-parentheses
