Fix LDLIBS linker errors

This commit is contained in:
Bob Polis 2024-03-28 15:25:10 +01:00
parent 6de2340db0
commit c19ffb3564

View File

@ -50,7 +50,7 @@ src/commit.inc:
echo 'const char* commit = "";' > $@ echo 'const char* commit = "";' > $@
$(OUTDIR)$(BIN): $(OBJS) $(OUTDIR)$(BIN): $(OBJS)
$(CXX) -o $(OUTDIR)$(BIN) $(LDFLAGS) $(LDLIBS) $(addprefix $(BUILDDIR),$(OBJS)) $(CXX) -o $(OUTDIR)$(BIN) $(LDFLAGS) $(addprefix $(BUILDDIR),$(OBJS)) $(LDLIBS)
@ln -sf $(OUTDIR)$(BIN) $(BIN) @ln -sf $(OUTDIR)$(BIN) $(BIN)
%.o %.dep: %.cpp %.o %.dep: %.cpp