opennx/packaging/win32/xming/patches/xming-build-subsys.patch
2025-08-08 20:34:09 +02:00

13 lines
514 B
Diff

diff -urwN xc-orig/programs/Xserver/Imakefile xc/programs/Xserver/Imakefile
--- xc-orig/programs/Xserver/Imakefile 2009-03-18 18:13:47.000000000 +0100
+++ xc/programs/Xserver/Imakefile 2009-07-28 02:47:19.754745601 +0200
@@ -1052,7 +1052,7 @@
#endif
XWINSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XWINX11) $(SYSLIBS) $(XWINW32)
-EXTRA_LDOPTIONS = -e _mainCRTStartup
+EXTRA_LDOPTIONS = -Wl,--subsystem,windows -mwindows
#if HasParallelMake
MakeMutex($(XWINDIRS) $(XWINOBJS) $(XWINLIB) $(XWINLIBS) $(XWINSYSLIBS))