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