From 91bab92ff44f6de89a4e28fe4b32728e37914f4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 1 Aug 2000 15:20:47 +0000 Subject: [PATCH] - fix static linking Changed files: db3-static.patch -> 1.1 --- db3-static.patch | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 db3-static.patch diff --git a/db3-static.patch b/db3-static.patch new file mode 100644 index 0000000..ab47299 --- /dev/null +++ b/db3-static.patch @@ -0,0 +1,34 @@ +--- db-3.1.14/dist/Makefile.in~ Tue May 2 15:59:43 2000 ++++ db-3.1.14/dist/Makefile.in Mon Jul 31 02:49:17 2000 +@@ -31,7 +31,7 @@ + SOMAJOR= @DB_VERSION_MAJOR@ + SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@ + +-libdb= libdb.a ++libdb= libdb-$(SOVERSION).a + + libso_base= libdb + libso_linkname= $(libso_base)-$(SOVERSION).la +--- db-3.1.14/dist/Makefile.in~ Mon Jul 31 03:04:12 2000 ++++ db-3.1.14/dist/Makefile.in Mon Jul 31 03:10:08 2000 +@@ -222,6 +222,7 @@ + # directories, and configure and build them separately. + ################################################## + all: @DEFAULT_LIB@ @ADDITIONAL_LIBS@ @ADDITIONAL_LANG@ $(PROGS) ++static: @DEFAULT_LIB@ @ADDITIONAL_LIBS@ @ADDITIONAL_LANG@ + + $(libdb): $(OBJS) + $(ar) $@ $(OBJS) +--- db-3.1.14/dist/Makefile.in~ Mon Jul 31 03:29:17 2000 ++++ db-3.1.14/dist/Makefile.in Mon Jul 31 03:37:52 2000 +@@ -100,8 +100,8 @@ + # 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$(srcdir)/include @CPPFLAGS@ +-DB185LIB= ++DB185INC= -c @CFLAGS@ -I/usr/include/db1 -I$(srcdir)/include @CPPFLAGS@ ++DB185LIB= -static -ldb1 + + ################################################## + # INSTALLATION DIRECTORIES AND PERMISSIONS -- 2.44.0