Skip to content

Commit 6872bbe

Browse files
authored
Revert "build: install linker files for installed targets (#753)" (#758)
This reverts commit 590caaa. This introduces a failure in the Ubuntu 20.04 test suite (e.g. https://ci.swift.org/job/oss-swift-pr-test-ubuntu-20_04/7131/).
1 parent 3fd7e02 commit 6872bbe

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Sources/FoundationMacros/CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,3 @@ install(TARGETS FoundationMacros
5757
ARCHIVE DESTINATION lib/swift/host/plugins
5858
LIBRARY DESTINATION lib/swift/host/plugins
5959
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
60-
install(FILES $<TARGET_LINKER_FILE:FoundationMacros>
61-
DESTINATION lib)

cmake/modules/SwiftFoundationSwiftSupport.cmake

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,5 @@ function(_swift_foundation_install_target module)
5050
install(FILES $<TARGET_PROPERTY:${module},Swift_MODULE_DIRECTORY>/${module_name}.swiftmodule
5151
DESTINATION lib/${swift}/${swift_os}/${module_name}.swiftmodule
5252
RENAME ${SwiftFoundation_MODULE_TRIPLE}.swiftmodule)
53-
install(FILES $<TARGET_LINKER_FILE:${module}>
54-
DESTINATION lib)
53+
5554
endfunction()

0 commit comments

Comments
 (0)