Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit c089e1ba authored by Rob Swindell's avatar Rob Swindell 💬

use $^ instead of $? for the prereqs for the ans2asc link command

Fixes the link failure when sauce.o didn't need to be rebuilt.
parent d61ddae3
Pipeline #2021 passed with stage
in 8 minutes and 10 seconds
......@@ -218,7 +218,7 @@ $(JSEXEC): $(JSEXEC_OBJS) $(SBBS)
$(ANS2ASC): $(OBJODIR)/ans2asc.o $(OBJODIR)/sauce.o $(XPDEV_LIB)
@echo Linking $@
$(QUIET)$(CC) $(CONSOLE_LDFLAGS) -o $@ $? -lm
$(QUIET)$(CC) $(CONSOLE_LDFLAGS) -o $@ $^ -lm
$(ASC2ANS): $(OBJODIR)/asc2ans.o
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment