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