File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -1754,10 +1754,6 @@ function(_add_swift_executable_single name)
1754
1754
list (APPEND link_flags
1755
1755
"-L${SWIFTLIB_DIR} /${SWIFT_SDK_${SWIFTEXE_SINGLE_SDK} _LIB_SUBDIR}" )
1756
1756
1757
- foreach (FAT_LIBRARY ${SWIFTEXE_SINGLE_LINK_FAT_LIBRARIES} )
1758
- list (APPEND link_flags "-l${FAT_LIBRARY} " )
1759
- endforeach ()
1760
-
1761
1757
if (SWIFTEXE_SINGLE_DISABLE_ASLR)
1762
1758
list (APPEND link_flags "-Wl,-no_pie" )
1763
1759
endif ()
@@ -1830,7 +1826,7 @@ function(_add_swift_executable_single name)
1830
1826
PROPERTIES
1831
1827
HEADER_FILE_ONLY true )
1832
1828
1833
- target_link_libraries ("${name} " ${SWIFTEXE_SINGLE_LINK_LIBRARIES} )
1829
+ target_link_libraries ("${name} " ${SWIFTEXE_SINGLE_LINK_LIBRARIES} ${SWIFTEXE_SINGLE_LINK_FAT_LIBRARIES} )
1834
1830
swift_common_llvm_config("${name} " ${SWIFTEXE_SINGLE_COMPONENT_DEPENDS} )
1835
1831
1836
1832
set_target_properties (${name}
You can’t perform that action at this time.
0 commit comments