Skip to content

Commit 2991674

Browse files
committed
[stdlib] Use -plugin-path for building the standard library
`-external-plugin-path` requires `swift-plugin-server` exectuable, but there was no dependency. Instead of adding the dependency, use `-plugin-path` that doesn't require the plugin-server.
1 parent 11a5359 commit 2991674

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ else()
325325
set(swift_lib_dir "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/../lib")
326326
endif()
327327

328-
list(APPEND swift_stdlib_compile_flags "-external-plugin-path"
329-
"${swift_lib_dir}/swift/host/plugins#${swift_bin_dir}/swift-plugin-server")
328+
list(APPEND swift_stdlib_compile_flags "-plugin-path" "${swift_lib_dir}/swift/host/plugins")
330329
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "DebugDescriptionMacro")
331330

332331
set(swift_core_incorporate_object_libraries)

0 commit comments

Comments
 (0)