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