Skip to content

Commit 0254423

Browse files
zhuoweikateinoigakukun
authored andcommitted
fix path to fakeld
1 parent e35604e commit 0254423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ function(_add_variant_link_flags)
583583
# FIXME: On Apple platforms, find_program needs to look for "ld64.lld"
584584
find_program(LDLLD_PATH "ld.lld")
585585
if("${LFLAGS_SDK}" STREQUAL "WASM")
586-
list(APPEND result "-fuse-ld=/home/zhuowei/swift-source/swift/fakeld")
586+
list(APPEND result "-fuse-ld=${CMAKE_SOURCE_DIR}/fakeld")
587587
elseif((SWIFT_ENABLE_LLD_LINKER AND LDLLD_PATH AND NOT APPLE) OR
588588
("${LFLAGS_SDK}" STREQUAL "WINDOWS" AND
589589
NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WINDOWS"))

0 commit comments

Comments
 (0)