File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -106,18 +106,19 @@ set(sdk "${SWIFT_HOST_VARIANT_SDK}")
106
106
if (SWIFT_BUILD_STATIC_STDLIB AND "${sdk} " STREQUAL "LINUX" )
107
107
set (static_binary_lnk_file_list )
108
108
string (TOLOWER "${sdk} " lowercase_sdk )
109
+ set (static_binary_lnk_src "${SWIFT_SOURCE_DIR} /stdlib/public/Resources/${lowercase_sdk} /static-executable-args.lnk" )
109
110
110
111
# Generate the static-executable-args.lnk file used for ELF systems (eg linux)
111
112
set (linkfile "${lowercase_sdk} /static-executable-args.lnk" )
112
113
add_custom_command_target (swift_static_binary_${sdk}_args
113
114
COMMAND
114
115
"${CMAKE_COMMAND} " -E copy
115
- "${SWIFT_SOURCE_DIR} /utils/static-executable-args.lnk "
116
+ "${static_binary_lnk_src} "
116
117
"${SWIFTSTATICLIB_DIR} /${linkfile} "
117
118
OUTPUT
118
119
"${SWIFTSTATICLIB_DIR} /${linkfile} "
119
120
DEPENDS
120
- "${SWIFT_SOURCE_DIR} /utils/static-executable-args.lnk " )
121
+ "${static_binary_lnk_src} " )
121
122
122
123
list (APPEND static_binary_lnk_file_list ${swift_static_binary_${sdk}_args} )
123
124
swift_install_in_component (FILES "${SWIFTSTATICLIB_DIR} /${linkfile} "
You can’t perform that action at this time.
0 commit comments