We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11dd84e commit c43f60aCopy full SHA for c43f60a
cmake/modules/AddSwift.cmake
@@ -707,7 +707,7 @@ function(add_swift_host_tool executable)
707
if(BOOTSTRAPPING_MODE STREQUAL "HOSTTOOLS")
708
# Add in the toolchain directory so we can grab compatibility libraries
709
get_filename_component(TOOLCHAIN_BIN_DIR ${SWIFT_EXEC_FOR_SWIFT_MODULES} DIRECTORY)
710
- get_filename_component(TOOLCHAIN_LIB_DIR "${TOOLCHAIN_BIN_DIR}/../lib/swift/macosx" ABSOLUTE)
+ get_filename_component(TOOLCHAIN_LIB_DIR "${TOOLCHAIN_BIN_DIR}/../lib/swift/${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_LIB_SUBDIR}" ABSOLUTE)
711
target_link_directories(${executable} PUBLIC ${TOOLCHAIN_LIB_DIR})
712
713
# Add the SDK directory for the host platform.
0 commit comments