[patch] debian-based compile


Subject: [patch] debian-based compile
From: Brad Midgley (brad@turbolinux.com)
Date: Tue Oct 31 2000 - 15:11:36 MST


under debian, libelf needs to be linked explicitly. does this break redhat-based builds?

bmidgley@clam:~/mol-0.9.53$ !diff
diff -u Makefile.orig Makefile
--- Makefile.orig Tue Oct 31 14:52:43 2000
+++ Makefile Tue Oct 31 14:53:24 2000
@@ -41,7 +41,7 @@
 P_TARGET_HOOK = @mv -f mol $(MOL_LIB_DIR)/bin/mol
 
 O_OBJS = $(join $(MM_DIRS:=/),$(MM_DIRS:=.o))
-LDFLAGS_EXTRA = -L/usr/X11R6/lib -lX11 -lXext -lpthread -lm
+LDFLAGS_EXTRA = -L/usr/X11R6/lib -lX11 -lXext -lpthread -lelf -lm
 
 CLEAN_FILES = logfile $(MOL_LIB_DIR)/bin/* $(MOL_LIB_DIR)/modules/*.o \
                   $(MOL_LIB_DIR)/modules/System.map* lib/core

-- 
Brad
brad@turbolinux.com      http://www.turbolinux.com/~brad/



This archive was generated by hypermail 2a24 : Tue Oct 31 2000 - 16:10:49 MST