File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
- OTHER_LDFLAGS = $(inherited) -framework CoreServices
1
+ // These link requirements only show issues in Xcode because it does dynamic linking, which enforce
2
+ // the dependency immediately, while swiftpm on the command line defaults to static linking, which
3
+ // means there is only an issue if the final image cannot find needed symbols.
4
+ //
5
+ // * CoreServices is used by IndexStoreDB's C++ code and cannot use autolinking.
6
+ // * ncurses and sqlite are used by llbuild (dependency of swiftpm) from C++ code
7
+ OTHER_LDFLAGS = $(inherited) -framework CoreServices -lncurses -lsqlite3
8
+
9
+ // Required to trigger a workaround in llbuild headers (dependency of swiftpm).
10
+ GCC_PREPROCESSOR_DEFINITIONS = SWIFT_PACKAGE=1
You can’t perform that action at this time.
0 commit comments