Skip to content

Commit e9f7b76

Browse files
committed
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".
1 parent 21726f0 commit e9f7b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
])
6666

6767
swift_cflags += [
68-
'-I${BUILD_DIR}/Foundation/usr/lib/swift',
68+
'-I${BUILD_DIR}/Foundation/${PREFIX}/lib/swift',
6969
]
7070

7171
if "XCTEST_BUILD_DIR" in Configuration.current.variables:

0 commit comments

Comments
 (0)