Get rid of the terminal window that is displayed under Windows
Thanks to Michael Wiedmann I now know the magic incantation to get MinGW to create a Windows executable that doesn't open two windows, a text console and the actual gtk window. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
667f07d281
commit
ae8bf9f6f4
1
Makefile
1
Makefile
@ -35,6 +35,7 @@ ifeq ($(CC), i686-w64-mingw32-gcc)
|
||||
LIBDIVECOMPUTERINCLUDES = `$(PKGCONFIG) --cflags libdivecomputer`
|
||||
LIBDIVECOMPUTERARCHIVE = `$(PKGCONFIG) --libs libdivecomputer`
|
||||
RESFILE = packaging/windows/subsurface.res
|
||||
LDFLAGS += -Wl,-subsystem,windows
|
||||
else
|
||||
|
||||
libdc-local := $(wildcard /usr/local/lib/libdivecomputer.a)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user