Skip to content

Commit 900c7c9

Browse files
committed
Platform/CMake: use arch instead of arch_subdir
This fixes wasi-libc.modulemap not found after installation
1 parent e227e50 commit 900c7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ if("WASI" IN_LIST SWIFT_SDKS)
425425
list(APPEND wasilibc_modulemap_target_list ${copy_wasilibc_modulemap_embedded_resource})
426426

427427
swift_install_in_component(FILES "${wasilibc_modulemap_source}"
428-
DESTINATION "lib/swift/embedded/${arch_subdir}"
428+
DESTINATION "lib/swift/embedded/${arch}"
429429
COMPONENT sdk-overlay)
430430
endif()
431431

0 commit comments

Comments
 (0)