From 04a993fef5921575fec3c69af7f9bcb737c6406b Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 28 Mar 2024 15:25:08 +0100 Subject: [PATCH] Fix LDLIBS linker errors --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1725a00..de22689 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ prebuild: @mkdir -p $(BUILDDIR) $(OUTDIR) $(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) %.o %.d: %.cpp