Skip to content

Commit 8beb904

Browse files
authored
Merge pull request swiftlang#29580 from compnerd/indirection
build: correct the handling for the static variants
2 parents 8c8f5b1 + 6b9c570 commit 8beb904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ for host in "${ALL_HOSTS[@]}"; do
14161416
module_cache="${build_dir}/module-cache"
14171417

14181418
# Add any specific cmake options specified by build-script
1419-
product_cmake_options_name=$(to_varname "${product}")_CMAKE_OPTIONS
1419+
product_cmake_options_name=$(to_varname "${product/_static}")_CMAKE_OPTIONS
14201420
product_cmake_options=(${!product_cmake_options_name}) # convert to array
14211421
cmake_options+=("${product_cmake_options[@]}")
14221422

0 commit comments

Comments
 (0)