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.
2 parents f890cfb + 140e02d commit a39f031Copy full SHA for a39f031
cmake/modules/AddSwift.cmake
@@ -1905,7 +1905,7 @@ function(add_swift_target_library name)
1905
if(SWIFTLIB_SHARED)
1906
if(sdk IN_LIST SWIFT_APPLE_PLATFORMS)
1907
list(APPEND swiftlib_link_flags_all "-dynamiclib -Wl,-headerpad_max_install_names")
1908
- elseif(sdk STREQUAL ANDROID)
+ elseif(${sdk} STREQUAL ANDROID)
1909
list(APPEND swiftlib_link_flags_all "-shared")
1910
# TODO: Instead of `lib${name}.so` find variable or target property which already have this value.
1911
list(APPEND swiftlib_link_flags_all "-Wl,-soname,lib${name}.so")
0 commit comments