fix: windows build: -mwindows in LDFLAGS instead of CLFAGS

This commit is contained in:
Stéphane Lesimple
2021-06-28 22:43:05 +02:00
parent 275decd40e
commit ab057244b4

2
configure vendored
View File

@@ -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