premake: support structuredAttrs in setup hook

Tested gmad with and without __structuredAttrs.

Building it succeeded on master with structuredAttrs, but the log output
showed that the configure flags were not passed correctly previously.
This commit is contained in:
Wolfgang Walther
2024-08-24 12:23:37 +02:00
parent 5c740315ed
commit bc0468d6ed
@@ -3,9 +3,8 @@ premakeConfigurePhase() {
local flagsArray=(
${premakefile:+--file=$premakefile}
$premakeFlags ${premakeFlagsArray[@]}
${premakeBackend:-gmake}
)
concatTo flagsArray premakeFlags premakeFlagsArray premakeBackend=gmake
echoCmd 'configure flags' "${flagsArray[@]}"