From 9596cbd85a1f19356b45062c4cfa0f85007478a4 Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 21 Mar 2022 19:25:38 +0000 Subject: [PATCH] Don't use the wxwidgets settings for the console fluxengine binary, because it ends up building a windows-mode binary and not a console-mode binary. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5e710eea..7487f35f 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,10 @@ export STRIP = /mingw32/bin/strip export CFLAGS += -I/mingw32/include export CXXFLAGS += $(shell wx-config --cxxflags --static=yes) export GUILDFLAGS += -lmingw32 -export LIBS += -L/mingw32/lib -static -lsqlite3 \ +export LIBS += -L/mingw32/lib -static\ + -lsqlite3 -lz \ + -lsetupapi -lwinusb -lole32 -lprotobuf -luuid +export GUILIBS += -L/mingw32/lib -static -lsqlite3 \ $(shell wx-config --libs --static=yes core base) -lz \ -lcomctl32 -loleaut32 -lspoolss -loleacc -lwinspool \ -lsetupapi -lwinusb -lole32 -lprotobuf -luuid @@ -79,7 +82,7 @@ CFLAGS += -Ilib -Idep/fmt -Iarch export OBJDIR = .obj all: .obj/build.ninja - @ninja -f .obj/build.ninja -k 0 + @ninja -f .obj/build.ninja @if command -v cscope > /dev/null; then cscope -bRq; fi clean: