Skip to content

Commit 50e2293

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-next
2 parents 9871e33 + 247cdc1 commit 50e2293

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)