Skip to content

Commit

Permalink
Revert "Don't open Windows console with the GUI"
Browse files Browse the repository at this point in the history
This reverts commit b423d1d.
  • Loading branch information
rivy committed Aug 19, 2022
1 parent 078f548 commit 4e5044a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Makefile.OCaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,10 @@ endif

# Patch to make a Windows GUI version come up with no
# console when click-started
ifeq ($(OSARCH), win32)
ifneq ($(UISTYLE), text)
# ifeq ($(OSARCH), win32)
# COBJS+=winmain.c
CFLAGS+=-ccopt "-link -Wl,--subsystem,windows"
endif
endif
# CFLAGS+=-cclib /subsystem:windows
# endif

# Gtk3 GUI
OCAMLFIND := $(shell command -v ocamlfind 2> /dev/null)
Expand Down

0 comments on commit 4e5044a

Please sign in to comment.