File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,13 @@ add_pure_swift_host_library(swiftSyntaxUnified SHARED)
30
30
31
31
macro (target_link_libraries_whole_archive target )
32
32
set_property (TARGET ${target} PROPERTY INTERFACE_INCLUDE_DIRECTORIES )
33
- target_link_options (${target} PRIVATE "SHELL: -Xfrontend -disable-autolink-library -Xfrontend ${target} " )
34
33
35
34
set (link_files )
36
35
foreach (lib ${ARGN} )
37
36
force_add_dependencies (${target} ${lib} )
38
37
39
- # Set auto linking name to the unified shared library name for each module .
40
- target_compile_options (${lib} PRIVATE "SHELL:-module-link-name ${target} " )
38
+ # Set dummy auto linking name to avoid trying to link with indivisual library .
39
+ target_compile_options (${lib} PRIVATE "SHELL:-module-link-name swiftCore " )
41
40
42
41
# Link all the object file into one unified library.
43
42
list (APPEND link_files $< TARGET_OBJECTS:${lib} > )
You can’t perform that action at this time.
0 commit comments