Browse Source

Move LDFLAGS to end of compiler flags, since library order matters for Mingw.

tags/v2.5.2
Andrew Belt 6 months ago
parent
commit
fc0a319ea4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      compile.mk

+ 1
- 1
compile.mk View File

@@ -66,7 +66,7 @@ DEPENDENCIES := $(patsubst %, build/%.d, $(SOURCES))
# Final targets

$(TARGET): $(OBJECTS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)

-include $(DEPENDENCIES)



Loading…
Cancel
Save