From 741918c471e940cc6638460db7f2aea8f283918f Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 1 Jan 2026 10:53:57 -0500 Subject: [PATCH] re-order linker flags in Makefile fixing bug when compiling on debian --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1b64127..e2bd813 100644 --- a/Makefile +++ b/Makefile @@ -64,8 +64,8 @@ mkdirs: -include $(OBJDIR)/*.d $(BIN): $(COMMON_OBJECTS) $(OBJECTS) $(IMGUI_OBJECTS) $(IMGUI_IMP_OBJECTS) $(LIB) - $(CXX) -o $@ $(LDFLAGS) $(COMMON_OBJECTS) $(OBJECTS) $(LIB) \ - $(IMGUI_OBJECTS) $(IMGUI_IMP_OBJECTS) + $(CXX) -o $@ $(COMMON_OBJECTS) $(OBJECTS) $(LIB) \ + $(IMGUI_OBJECTS) $(IMGUI_IMP_OBJECTS) $(LDFLAGS) $(TEST_BIN): $(TEST_OBJECTS) $(LIB) $(CXX) -o $@ $(LDFLAGS) $(TEST_OBJECTS) $(LIB)