diff --git a/src/sbbs3/GNUmakefile b/src/sbbs3/GNUmakefile
index f4cb120c36878d9ddccf6197c41a52adaff29401..04ab7ac179eab31b9e13d242f73b2e163b9c1ffb 100644
--- a/src/sbbs3/GNUmakefile
+++ b/src/sbbs3/GNUmakefile
@@ -238,7 +238,7 @@ $(QWKNODES): $(QWKNODES_OBJS)
 # SLOG
 $(SLOG): $(SLOG_OBJS)
 	@echo Linking $@
-	$(QUIET)$(CC) $(CONSOLE_LDFLAGS) -o $@ $(SLOG_OBJS) $(XPDEV_LIBS)
+	$(QUIET)$(CC) $(CONSOLE_LDFLAGS) -o $@ $(SLOG_OBJS) -lsbbs
 
 # ALLUSERS
 $(ALLUSERS): $(ALLUSERS_OBJS) $(ENCODE_LIB)