From e9f7b76732095c61c879ad41ec4803a860e7615f Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Sat, 4 Aug 2018 00:21:33 +0800 Subject: [PATCH] Fix Foundation build error with --install-prefix This commit fixes a header-not-found build error when Foundation is built with --install-prefix other than "/usr". --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 23964d7d38..47321f2e8e 100755 --- a/build.py +++ b/build.py @@ -65,7 +65,7 @@ ]) swift_cflags += [ - '-I${BUILD_DIR}/Foundation/usr/lib/swift', + '-I${BUILD_DIR}/Foundation/${PREFIX}/lib/swift', ] if "XCTEST_BUILD_DIR" in Configuration.current.variables: