File tree 1 file changed +4
-4
lines changed
tools/SourceKit/cmake/modules 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,15 +151,15 @@ function(add_sourcekit_swift_runtime_link_flags target path HAS_SWIFT_MODULES)
151
151
else ()
152
152
message (FATAL_ERROR "Unknown ASKD_BOOTSTRAPPING_MODE '${ASKD_BOOTSTRAPPING_MODE} '" )
153
153
endif ()
154
- endif ()
155
154
156
- if (SWIFT_SWIFT_PARSER)
157
- # Add rpath to the host Swift libraries.
158
- if (NOT SWIFT_HOST_VARIANT_SDK IN_LIST SWIFT_DARWIN_PLATFORMS)
155
+ if (SWIFT_SWIFT_PARSER)
156
+ # Add rpath to the host Swift libraries.
159
157
file (RELATIVE_PATH relative_hostlib_path "${path} " "${SWIFTLIB_DIR} /host" )
160
158
list (APPEND RPATH_LIST "$ORIGIN/${relative_hostlib_path} " )
161
159
endif ()
160
+ endif ()
162
161
162
+ if (SWIFT_SWIFT_PARSER)
163
163
# For the "end step" of bootstrapping configurations on Darwin, need to be
164
164
# able to fall back to the SDK directory for libswiftCore et al.
165
165
if (BOOTSTRAPPING_MODE MATCHES "BOOTSTRAPPING.*" )
You can’t perform that action at this time.
0 commit comments