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 3c40271 commit 2898477Copy full SHA for 2898477
cmake/modules/AddSwift.cmake
@@ -719,7 +719,7 @@ function(_add_swift_library_single target name)
719
# On platforms that use ELF binaries we add markers for metadata sections in
720
# the shared libraries using these object files. This wouldn't be necessary
721
# if the link was done by the swift binary: rdar://problem/19007002
722
- if(SWIFTLIB_TARGET_LIBRARY AND
+ if(SWIFTLIB_SINGLE_TARGET_LIBRARY AND
723
"${SWIFT_SDK_${SWIFTLIB_SINGLE_SDK}_OBJECT_FORMAT}" STREQUAL "ELF")
724
if("${libkind}" STREQUAL "SHARED")
725
set(arch_subdir "${SWIFTLIB_DIR}/${SWIFTLIB_SINGLE_SUBDIR}")
0 commit comments