From ab057244b456137e3a192a75692be67648a702c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Mon, 28 Jun 2021 22:43:05 +0200 Subject: [PATCH] fix: windows build: -mwindows in LDFLAGS instead of CLFAGS --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 56c8175..530db49 100755 --- a/configure +++ b/configure @@ -56,7 +56,7 @@ WITH_OPTION cli-only no "[yes | no]" # Remove the useless CLI console under windows if [[ $(uname) =~ MINGW ]] && [ "$cfg_with_cli_only" != "yes" ]; then - CFG_CFLAGS="$CFG_CFLAGS -mwindows" + CFG_LDFLAGS="$CFG_LDFLAGS -mwindows" fi # Look for required libraries