File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 23
23
layer for these properties we satisfy the above constraints.
24
24
*/
25
25
26
- import struct Utility. Toolchain
27
26
import struct Utility. Path
28
27
import PackageType
29
28
@@ -169,15 +168,7 @@ extension SwiftModule {
169
168
buildSettings [ " LD_RUNPATH_SEARCH_PATHS " ] = " '@loader_path/../Frameworks' "
170
169
171
170
} else {
172
-
173
- //FIXME we should not have to set this ourselves, and in fact
174
- // it is problematic because now you must regenerate the xcodeproj
175
- // whenever the toolchain changes :(
176
- // static linking would be better since that is what we are meant
177
- // to do while swift has no ABI compatability.
178
- // probably the real solution is to generate frameworks since then
179
- // Xcode will embed the swift runtime libs
180
- buildSettings [ " LD_RUNPATH_SEARCH_PATHS " ] = " ' \( Toolchain . prefix) /usr/lib/swift/macosx' "
171
+ buildSettings [ " LD_RUNPATH_SEARCH_PATHS " ] = " '$(TOOLCHAIN_DIR)/usr/lib/swift/macosx' "
181
172
182
173
if isLibrary {
183
174
buildSettings [ " ENABLE_TESTABILITY " ] = " YES "
You can’t perform that action at this time.
0 commit comments