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 @@ -113,18 +113,19 @@ set(sdk "${SWIFT_HOST_VARIANT_SDK}")
113
113
if (SWIFT_BUILD_STATIC_STDLIB AND "${sdk} " STREQUAL "LINUX" )
114
114
set (static_binary_lnk_file_list )
115
115
string (TOLOWER "${sdk} " lowercase_sdk )
116
+ set (static_binary_lnk_src "${SWIFT_SOURCE_DIR} /stdlib/public/Resources/${lowercase_sdk} /static-executable-args.lnk" )
116
117
117
118
# Generate the static-executable-args.lnk file used for ELF systems (eg linux)
118
119
set (linkfile "${lowercase_sdk} /static-executable-args.lnk" )
119
120
add_custom_command_target (swift_static_binary_${sdk}_args
120
121
COMMAND
121
122
"${CMAKE_COMMAND} " -E copy
122
- "${SWIFT_SOURCE_DIR} /utils/static-executable-args.lnk "
123
+ "${static_binary_lnk_src} "
123
124
"${SWIFTSTATICLIB_DIR} /${linkfile} "
124
125
OUTPUT
125
126
"${SWIFTSTATICLIB_DIR} /${linkfile} "
126
127
DEPENDS
127
- "${SWIFT_SOURCE_DIR} /utils/static-executable-args.lnk " )
128
+ "${static_binary_lnk_src} " )
128
129
129
130
list (APPEND static_binary_lnk_file_list ${swift_static_binary_${sdk}_args} )
130
131
swift_install_in_component (FILES "${SWIFTSTATICLIB_DIR} /${linkfile} "
You can’t perform that action at this time.
0 commit comments