* Tue Dec 16 2008 Richard Jones <rjones@redhat.com> - 3.6.6.2-1
[fedora-mingw.git] / sqlite / mingw32-sqlite-3.6.6.2-no-undefined.patch
diff --git a/sqlite/mingw32-sqlite-3.6.6.2-no-undefined.patch b/sqlite/mingw32-sqlite-3.6.6.2-no-undefined.patch
new file mode 100644 (file)
index 0000000..3da0b54
--- /dev/null
@@ -0,0 +1,19 @@
+--- sqlite-3.6.6.2/Makefile.in.orig    2008-12-16 15:43:08.000000000 +0000
++++ sqlite-3.6.6.2/Makefile.in 2008-12-16 15:43:27.000000000 +0000
+@@ -448,13 +448,14 @@
+ libsqlite3.la:        $(LIBOBJ)
+       $(LTLINK) -o $@ $(LIBOBJ) $(TLIBS) \
+-              ${ALLOWRELEASE} -rpath "$(libdir)" -version-info "8:6:8"
++              ${ALLOWRELEASE} -rpath "$(libdir)" -version-info "8:6:8" \
++              -no-undefined
+ libtclsqlite3.la:     tclsqlite.lo libsqlite3.la
+       $(LTLINK) -o $@ tclsqlite.lo \
+               libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
+                 -rpath "$(libdir)/sqlite" \
+-              -version-info "8:6:8"
++              -version-info "8:6:8" -no-undefined
+ sqlite3$(TEXE):       $(TOP)/src/shell.c libsqlite3.la sqlite3.h
+       $(LTLINK) $(READLINE_FLAGS) \