From 7c87f5ba9d34d13cf118522e541a3493c29b2f4d Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 11 Apr 2018 01:10:43 -0400 Subject: [PATCH] Windows static build --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f9cbca03..4cf261d6 100644 --- a/Makefile +++ b/Makefile @@ -32,9 +32,8 @@ ifeq ($(ARCH), win) SOURCES += dep/osdialog/osdialog_win.c LDFLAGS += -static-libgcc -static-libstdc++ \ -Wl,--export-all-symbols,--out-implib,libRack.a -mwindows \ - -Ldep/lib -Wl,-Bstatic -lglew32 -lglfw3 -ljansson -lspeexdsp -lzip -lz -lcurl -lssl -lcrypto \ - -Wl,-Bdynamic -lopengl32 -lpthread -lgdi32 -lws2_32 -lcomdlg32 -lole32 \ - -lrtaudio -lrtmidi + -Ldep/lib -Wl,-Bstatic -lglew32 -lglfw3 -ljansson -lspeexdsp -lzip -lz -lcurl -lssl -lcrypto -lrtaudio -lrtmidi \ + -Wl,-Bdynamic -lopengl32 -lpthread -lgdi32 -lws2_32 -lcomdlg32 -lole32 -ldsound -lwinmm -lksuser TARGET := Rack.exe OBJECTS += Rack.res endif