Skip to content

Commit

Permalink
fix: windows build: -mwindows in LDFLAGS instead of CLFAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
speed47 committed Jun 28, 2021
1 parent 275decd commit ab05724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab05724

Please # to comment.