Skip to content

Commit 600952d

Browse files
committed
Suppress windows console.
1 parent 16ac69b commit 600952d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ case ${host_os} in
106106
AC_CHECK_TOOL([WINDRES], [windres], AC_MSG_ERROR([windres not found]))
107107
WIN32_LIBS='-ldbghelp -lshfolder -lshlwapi -lpsapi -lshell32 -lwinmm -lws2_32 -liphlpapi'
108108
AC_SUBST([WIN32_LIBS], [${WIN32_LIBS}])
109+
LDFLAGS="-Wl,-subsystem,windows ${LDFLAGS}"
109110
;;
110111
*openbsd*)
111112
AC_DEFINE([_XOPEN_SOURCE], 600, [Enable POSIX extensions if present])

0 commit comments

Comments
 (0)