File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
trunk/tools/SourceKit/tools/swift-lang Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b9d476e39c75ea121e76754f2baf91f0559d76f6
2
+ refs/heads/master: 93184c549a7ab969f877dd112a98f2a09f855807
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -4,7 +4,16 @@ if(NOT SWIFT_SOURCEKIT_USE_INPROC_LIBRARY AND SWIFT_BUILD_STDLIB)
4
4
set (INSTALLED_COMP sourcekit-xpc-service )
5
5
set (DEPENDS_LIST "sourcekitd-test" )
6
6
7
- add_swift_target_library (swiftSwiftLang SHARED
7
+ # The build type of swiftlang should agree with stdlib
8
+ set (SWIFT_LANG_LIBRARY_BUILD_TYPES )
9
+ if (SWIFT_BUILD_DYNAMIC_STDLIB )
10
+ list (APPEND SWIFT_LANG_LIBRARY_BUILD_TYPES SHARED )
11
+ endif ()
12
+ if (SWIFT_BUILD_STATIC_STDLIB )
13
+ list (APPEND SWIFT_LANG_LIBRARY_BUILD_TYPES STATIC )
14
+ endif ()
15
+
16
+ add_swift_target_library (swiftSwiftLang ${SWIFT_LANG_LIBRARY_BUILD_TYPES}
8
17
SwiftLang.swift
9
18
SourceKitdClient.swift
10
19
SourceKitdRequest.swift
You can’t perform that action at this time.
0 commit comments