Skip to content

Commit bd9b427

Browse files
committed
build: allow building libswift for Windows
There is no special environment variable to be set, the dlls must be co-located or be found in `Path`.
1 parent 8612cd0 commit bd9b427

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,6 @@ function(_compile_swift_files
744744
set(set_environment_args "${CMAKE_COMMAND}" "-E" "env" "DYLD_LIBRARY_PATH=${bs_lib_dir}")
745745
elseif(SWIFT_HOST_VARIANT_SDK MATCHES "LINUX|ANDROID|OPENBSD")
746746
set(set_environment_args "${CMAKE_COMMAND}" "-E" "env" "LD_LIBRARY_PATH=${bs_lib_dir}")
747-
else()
748-
message(FATAL_ERROR "TODO: bootstrapping support for ${SWIFT_HOST_VARIANT_SDK}")
749747
endif()
750748
endif()
751749

0 commit comments

Comments
 (0)