From 70740cb91024ea9d2eef79e37ea8a757e60ae13b Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Sun, 12 Feb 2017 11:10:53 +0900 Subject: win32: use msvcrt --- win32/x86/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'win32/x86') diff --git a/win32/x86/Makefile b/win32/x86/Makefile index 752db91..2f523a3 100644 --- a/win32/x86/Makefile +++ b/win32/x86/Makefile @@ -6,7 +6,7 @@ vpath %.rc .. include ../fmplayer.mak -OBJS=$(addsuffix .o,$(OBJBASE) uc $(RESBASE)) +OBJS=$(addsuffix .o,$(OBJBASE) $(RESBASE)) ARCH=i686 PREFIX=$(ARCH)-w64-mingw32- CC=$(PREFIX)gcc @@ -15,9 +15,7 @@ STRIP=$(PREFIX)strip CFLAGS=-std=c99 -Os -Wall -Wextra -pedantic -I../.. \ $(addprefix -D,$(DEFINES)) \ -march=i586 -LIBS=-nostdlib -s -Wl,-e_entry@4 \ - -Wl,--subsystem,windows \ - -lgcc -lntdll \ +LIBS=-s -mwindows -municode \ $(addprefix -l,$(LIBBASE)) $(TARGET): $(OBJS) -- cgit v1.2.3