--- calculator/Makefile.in.orig	2001-06-26 13:32:25 UTC
+++ calculator/Makefile.in
@@ -91,7 +91,7 @@ PROGRAMS =  $(bin_PROGRAMS)
 DEFS = @DEFS@ -I. -I$(srcdir) -I..
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lcompat
 spar_OBJECTS =  commands.o commands_table.o shell.o spar.o
 spar_DEPENDENCIES =  ../lib/.libs/libspar.so
 spar_LDFLAGS = 
