lib/SwiftReflection shouldn't link libswiftCore

Although this is a target library, it does not need to link against
the standard library, because it doesn't have any Swift content in
it. We need to add a separate build flag for having CMake content
because saying a library "IS_STDLIB" isn't correct for this case.

rdar://problem/26399625
This commit is contained in:
David Farler
2016-05-20 17:25:25 -07:00
parent 8e7bcb1490
commit f3500e4a3c
3 changed files with 9 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
add_swift_library(swiftReflection IS_STDLIB IS_HOST
add_swift_library(swiftReflection TARGET_LIBRARY IS_HOST
Demangle.cpp
MetadataSource.cpp
Remangle.cpp