From ef23f9f7c7d422766d362e3e6eb7c01eba576954 Mon Sep 17 00:00:00 2001 From: frese Date: Sun, 6 Jan 2002 16:43:32 +0000 Subject: [PATCH] - added the library dl to the linker options. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5c85710..12004b8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ### update this to fit your system -SCSH_SRC = /afs/wsi/home/gasbichl/sw/scsh-0.6 -SCSH_LIB = /afs/wsi/home/gasbichl/i386_fbsd40/scsh-0.6/lib/scsh +SCSH_SRC = /home/david/dev/scsh-0.6 +SCSH_LIB = /usr/local/lib/scsh X11_PATH = /usr/X11R6 ### the following does not have to be changed (hopefully) @@ -57,7 +57,7 @@ SCM_CONFIG_FILES = scheme/xlib/xlib-type-interfaces.scm \ $(SCX_VM): tmpmain.o $(OBJECTS) $(CC) -g -o $(SCX_VM) -L $(SCSH_LIB) -L $(X11_LIB) \ - tmpmain.o $(OBJECTS) -lscsh -lm -lX11 -lcrypt && + tmpmain.o $(OBJECTS) -lscsh -lm -lX11 -lcrypt -ldl $(OBJECTS): c/xlib/xlib.h .c.o: @@ -74,7 +74,7 @@ main.o: c/main.c ### The Image is a dump of the VM with all new packages loaded, and ### xlib opened. -STARTUP_MSG = "with SCX $(SCX_VERSION), the X11 support." +STARTUP_MSG = "with SCX $(SCX_VERSION), the X11 support" $(SCX_IMAGE): $(SCX_VM) $(SCM_FILES) $(SCM_CONFIG_FILES) ( \ @@ -83,11 +83,11 @@ $(SCX_IMAGE): $(SCX_VM) $(SCM_FILES) $(SCM_CONFIG_FILES) echo ",load-package xlib"; \ echo ",load-package xlib-types"; \ echo ",dump $(SCX_IMAGE) \"$(STARTUP_MSG)\"" \ - ) | $(SCX_VM) + ) | ./$(SCX_VM) $(SCX): $(SCX_IMAGE) main.o $(OBJECTS) $(CC) -g -o $@ -L $(SCSH_LIB) -L $(X11_LIB) \ - main.o $(OBJECTS) -lscsh -lm -lX11 -lcrypt && + main.o $(OBJECTS) -lscsh -lm -lX11 -lcrypt -ldl clean: rm -f $(SCX_VM) $(SCX) $(SCX_IMAGE) *.o c/*.o c/xlib/*.o