1--- Makefile.in.orig	2005-04-23 22:43:23 UTC
2+++ Makefile.in
3@@ -38,7 +38,7 @@ RELEASE = @ALLOWRELEASE@
4
5 # libtool compile/link/install
6 LTCOMPILE = $(LIBTOOL) --mode=compile $(TCC)
7-LTLINK = $(LIBTOOL) --mode=link $(TCC)
8+LTLINK = $(LIBTOOL) --mode=link $(TCC) @TARGET_LIBS@
9 LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
10
11 # Compiler options needed for programs that use the TCL library.
12@@ -474,6 +474,10 @@ install:	sqlite libsqlite.la sqlite.h
13 	$(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
14 	$(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
15
16+install-tcl:	libtclsqlite.la
17+	$(INSTALL) -d $(DESTDIR)$(prefix)/lib/sqlite
18+	$(LTINSTALL) libtclsqlite.la $(DESTDIR)$(prefix)/lib/sqlite
19+
20 clean:
21 	rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
22 	rm -rf .libs .deps
23