Skip to content

Commit e0a90d8

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-next
2 parents 45a8f60 + 52ddabe commit e0a90d8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

stdlib/tools/swift-reflection-test/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@ add_swift_target_executable(swift-reflection-test BUILD_WITH_STDLIB
44
LINK_FAT_LIBRARIES
55
swiftRemoteMirror
66
swiftReflection)
7-
7+
# NOTE(compnerd) since _WINDLL has no impact on non-Windows targets,
8+
# we just spam it on all the targets for simplicity due to the build
9+
# structure of swift. This will make the global variable imported,
10+
# which we need.
11+
set_source_files_properties(swift-reflection-test.c
12+
PROPERTIES
13+
COMPILE_FLAGS -D_WINDLL)

0 commit comments

Comments
 (0)