Remove "-mwindows" link option from CFLAGS and CXXFLAGS

This commit is contained in:
ManoloFLTK 2023-12-07 09:21:03 +01:00
parent b759767798
commit e5d9000564

View File

@ -932,8 +932,6 @@ AS_CASE([$host_os_gui], [cygwin* | mingw*], [
# but never used, see STR #2147)
# CFLAGS="-mwindows -D_WIN32 -DUSE_OPENGL32 $CFLAGS"
# CXXFLAGS="-mwindows -D_WIN32 -DUSE_OPENGL32 $CXXFLAGS"
CFLAGS="-mwindows $CFLAGS"
CXXFLAGS="-mwindows $CXXFLAGS"
LDFLAGS="-mwindows $LDFLAGS"
DSOFLAGS="-mwindows $DSOFLAGS"
LIBS="$LIBS -lole32 -luuid -lcomctl32 -lws2_32"