Remove the unwanted Windows console from the Windows binary version of wpa_gui
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 21 Nov 2008 12:26:11 +0000 (14:26 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 21 Nov 2008 12:26:11 +0000 (14:26 +0200)
wpa_supplicant/wpa_gui-qt4/wpa_gui.pro

index 0f94f48..0de7752 100644 (file)
@@ -11,7 +11,7 @@ win32 {
   SOURCES += ../../src/utils/os_win32.c
 } else:win32-g++ {
   # cross compilation to win32
-  LIBS += -lws2_32 -static
+  LIBS += -lws2_32 -static -mwindows
   DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
   SOURCES += ../../src/utils/os_win32.c
   RESOURCES += icons_png.qrc