diff -p -up db-5.1.19/dist/Makefile.in.db185~ db-5.1.19/dist/Makefile.in --- db-5.1.19/dist/Makefile.in.db185~ 2010-08-27 15:08:03.000000000 +0000 +++ db-5.1.19/dist/Makefile.in 2010-10-14 19:29:57.169564184 +0000 @@ -193,8 +193,8 @@ libtso_major= $(libtcl_base)-$(LIBMAJOR) # local libraries, for example. Do that by adding -I options to the DB185INC # line, and -l options to the DB185LIB line. ################################################## -DB185INC= -c @CFLAGS@ -I$(topdir) @CPPFLAGS@ -DB185LIB= +DB185INC= -c @CFLAGS@ -I/usr/include/db1 -I$(topdir) @CPPFLAGS@ +DB185LIB= -Wl,-static,-ldb1,-Bdynamic ################################################## # Performance Event Monitoring definitions