File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,6 @@ function(_add_swift_host_library_single target name)
732
732
set (SWIFTLIB_SINGLE_multiple_parameter_options
733
733
FILE_DEPENDS
734
734
GYB_SOURCES
735
- INCORPORATE_OBJECT_LIBRARIES_SHARED_ONLY
736
735
LLVM_LINK_COMPONENTS
737
736
SWIFT_COMPILE_FLAGS )
738
737
@@ -871,22 +870,9 @@ function(_add_swift_host_library_single target name)
871
870
return ()
872
871
endif ()
873
872
874
- set (SWIFTLIB_INCORPORATED_OBJECT_LIBRARIES_EXPRESSIONS_SHARED_ONLY )
875
- foreach (object_library ${SWIFTLIB_SINGLE_INCORPORATE_OBJECT_LIBRARIES_SHARED_ONLY} )
876
- list (APPEND SWIFTLIB_INCORPORATED_OBJECT_LIBRARIES_EXPRESSIONS_SHARED_ONLY
877
- $< TARGET_OBJECTS:${object_library}${VARIANT_SUFFIX} > )
878
- endforeach ()
879
-
880
- set (INCORPORATED_OBJECT_LIBRARIES_EXPRESSIONS )
881
- if (${libkind} STREQUAL "SHARED" )
882
- list (APPEND INCORPORATED_OBJECT_LIBRARIES_EXPRESSIONS
883
- ${SWIFTLIB_INCORPORATED_OBJECT_LIBRARIES_EXPRESSIONS_SHARED_ONLY} )
884
- endif ()
885
-
886
873
add_library ("${target} " ${libkind}
887
874
${SWIFTLIB_SINGLE_SOURCES}
888
- ${SWIFTLIB_SINGLE_EXTERNAL_SOURCES}
889
- ${INCORPORATED_OBJECT_LIBRARIES_EXPRESSIONS} )
875
+ ${SWIFTLIB_SINGLE_EXTERNAL_SOURCES} )
890
876
_set_target_prefix_and_suffix ("${target} " "${libkind} " "${SWIFTLIB_SINGLE_SDK} " )
891
877
892
878
if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "WINDOWS" )
You can’t perform that action at this time.
0 commit comments