Other: Do not compile go bridge as win32 app

Compile as console application so that we can inspect trace outputs and
IMAP/SMTP Commands.

Note: This needs to be reverted before release.
This commit is contained in:
Leander Beernaert 2022-10-31 17:30:26 +01:00 committed by James Houlahan
parent 075e1ef236
commit b0f939bfaf
1 changed files with 3 additions and 2 deletions

View File

@ -34,8 +34,9 @@ ifneq "${BUILD_LDFLAGS}" ""
endif
GO_LDFLAGS_LAUNCHER:=${GO_LDFLAGS}
ifeq "${TARGET_OS}" "windows"
GO_LDFLAGS+=-H=windowsgui
GO_LDFLAGS_LAUNCHER+=-H=windowsgui
#Temporarily disable this so we can inspect trace logs from the bridge for debugging
#GO_LDFLAGS+=-H=windowsgui
#GO_LDFLAGS_LAUNCHER+=-H=windowsgui
endif
BUILD_FLAGS+=-ldflags '${GO_LDFLAGS}'