From: fennecdjay Date: Tue, 28 Feb 2023 11:22:53 +0000 (+0100) Subject: :bug: Fix expand in gwfmt X-Git-Tag: nightly~190 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b6e6cb5e7318d1334e39fb1de03c4d45fa5c28bd;p=gwion.git :bug: Fix expand in gwfmt --- diff --git a/fmt b/fmt index aac1f51d..47479925 160000 --- a/fmt +++ b/fmt @@ -1 +1 @@ -Subproject commit aac1f51dea1d9ba089d3c6632f6a965911f445d7 +Subproject commit 474799254ebdf88d5edffa07580cee5d3eb34de0 diff --git a/scripts/embed.bash b/scripts/embed.bash index 7ff76f09..a3c55049 100644 --- a/scripts/embed.bash +++ b/scripts/embed.bash @@ -215,6 +215,8 @@ array_is_ok "$ldflags" && { } standalone=$(jq -rc '.standalone' <<< "$json") -[ "$standalone" = "true" ] && +[ "$standalone" = "true" ] && { + array_is_ok "$args" || config echo "CFLAGS += -DGWION_CONFIG_ARGS" config "CFLAGS += -DGWION_STANDALONE" +} :