--- shlib/Makefile.in.orig	Sun Sep 29 23:31:10 2002
+++ shlib/Makefile.in	Sun Sep 29 23:31:55 2002
@@ -73,7 +73,7 @@
 SHOBJ_LIBS = @SHOBJ_LIBS@
 
 SHLIB_XLDFLAGS = @SHLIB_XLDFLAGS@
-SHLIB_LIBS = @SHLIB_LIBS@
+SHLIB_LIBS = @SHLIB_LIBS@ -lncurses -lcc_dynamic
 SHLIB_LIBSUFF = @SHLIB_LIBSUFF@
 
 SHLIB_LIBVERSION = @SHLIB_LIBVERSION@
