Skip to content

Commit 247cdc1

Browse files
authored
Merge pull request #25527 from apple/chase-my-tail
2 parents 9dc44b7 + 8bb9144 commit 247cdc1

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
@@ -1383,7 +1383,7 @@ function(_add_swift_library_single target name)
13831383
# NOTE(compnerd) use the C linker language to invoke `clang` rather than
13841384
# `clang++` as we explicitly link against the C++ runtime. We were previously
13851385
# actually passing `-nostdlib++` to avoid the C++ runtime linkage.
1386-
if(SWIFTLIB_SINGLE_SDK STREQUAL ANDROID)
1386+
if("${SWIFTLIB_SINGLE_SDK}" STREQUAL "ANDROID")
13871387
set_property(TARGET "${target}" PROPERTY
13881388
LINKER_LANGUAGE "C")
13891389
else()

0 commit comments

Comments
 (0)