File tree Expand file tree Collapse file tree 5 files changed +30
-13
lines changed
CompatibilityDynamicReplacements
CompatibilityDynamicReplacements Expand file tree Collapse file tree 5 files changed +30
-13
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ if(SWIFT_BUILD_STDLIB)
61
61
add_subdirectory (stubs )
62
62
add_subdirectory (core )
63
63
add_subdirectory (SwiftOnoneSupport )
64
- add_subdirectory (CompatibilityDynamicReplacements )
65
64
endif ()
66
65
67
66
if (SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,3 +44,4 @@ endif()
44
44
45
45
add_subdirectory (legacy_layouts )
46
46
add_subdirectory (Compatibility50 )
47
+ add_subdirectory (CompatibilityDynamicReplacements )
Original file line number Diff line number Diff line change
1
+ set (library_name "swiftCompatibilityDynamicReplacements" )
2
+
3
+ add_swift_target_library ("${library_name} " STATIC TARGET_LIBRARY
4
+ DynamicReplaceable.cpp
5
+
6
+ TARGET_SDKS ${SWIFT_APPLE_PLATFORMS}
7
+
8
+ C_COMPILE_FLAGS ${CXX_COMPILE_FLAGS}
9
+ LINK_FLAGS ${CXX_LINK_FLAGS}
10
+ SWIFT_COMPILE_FLAGS ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
11
+
12
+ INSTALL_IN_COMPONENT compiler
13
+ INSTALL_WITH_SHARED )
14
+
15
+
16
+ # FIXME: We need a more flexible mechanism to add lipo targets generated by
17
+ # add_swift_target_library to the ALL target. Until then this hack is necessary
18
+ # to ensure these libraries build.
19
+ foreach (sdk ${SWIFT_SDKS} )
20
+ set (target_name "${library_name} -${SWIFT_SDK_${sdk} _LIB_SUBDIR}" )
21
+ if (NOT TARGET "${target_name} " )
22
+ continue ()
23
+ endif ()
24
+
25
+ set_target_properties ("${target_name} "
26
+ PROPERTIES
27
+ EXCLUDE_FROM_ALL FALSE )
28
+ endforeach ()
Original file line number Diff line number Diff line change 19
19
20
20
#include " swift/Runtime/Once.h"
21
21
#include " swift/Runtime/Exclusivity.h"
22
- #include " ../runtime/ThreadLocalStorage.h"
22
+ #include " ../../public/ runtime/ThreadLocalStorage.h"
23
23
24
24
using namespace swift ;
25
25
You can’t perform that action at this time.
0 commit comments