]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix expand in gwfmt
authorfennecdjay <fennecdjay@gmail.com>
Tue, 28 Feb 2023 11:22:53 +0000 (12:22 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Tue, 28 Feb 2023 11:22:53 +0000 (12:22 +0100)
fmt
scripts/embed.bash

diff --git a/fmt b/fmt
index aac1f51dea1d9ba089d3c6632f6a965911f445d7..474799254ebdf88d5edffa07580cee5d3eb34de0 160000 (submodule)
--- a/fmt
+++ b/fmt
@@ -1 +1 @@
-Subproject commit aac1f51dea1d9ba089d3c6632f6a965911f445d7
+Subproject commit 474799254ebdf88d5edffa07580cee5d3eb34de0
index 7ff76f0960e5da73e6e0713a785fee49563dcaff..a3c5504958eeaa97e9141d73bdefbc7008b28cc1 100644 (file)
@@ -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"
+}
 :