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