fix: windows build: -mwindows in LDFLAGS instead of CLFAGS
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -56,7 +56,7 @@ WITH_OPTION cli-only no "[yes | no]"
|
|||||||
|
|
||||||
# Remove the useless CLI console under windows
|
# Remove the useless CLI console under windows
|
||||||
if [[ $(uname) =~ MINGW ]] && [ "$cfg_with_cli_only" != "yes" ]; then
|
if [[ $(uname) =~ MINGW ]] && [ "$cfg_with_cli_only" != "yes" ]; then
|
||||||
CFG_CFLAGS="$CFG_CFLAGS -mwindows"
|
CFG_LDFLAGS="$CFG_LDFLAGS -mwindows"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Look for required libraries
|
# Look for required libraries
|
||||||
|
|||||||
Reference in New Issue
Block a user