Skip to content

Commit 521582d

Browse files
committed
add an include directory for the build artifacts of copied headers
this should avoid build failures where the umbrella header for CoreFoundation is found by the module map but not the leaf headers like CFBase.h
1 parent 3effff8 commit 521582d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.py

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
])
4949

5050
foundation.SWIFTCFLAGS += " ".join([
51+
'-I${BUILD_DIR}/Foundation/usr/lib/swift'
5152
])
5253

5354
foundation.LDFLAGS += '-lpthread -ldl -lm -lswiftCore'

0 commit comments

Comments
 (0)