summaryrefslogtreecommitdiffstats
path: root/debian/patches/32-dynamic_link.patch
blob: 55ab04bed5e7d730ba0b06150eaf645a218d685d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- sqlite3-3.38.3.orig/Makefile.in
+++ sqlite3-3.38.3/Makefile.in
@@ -672,9 +672,9 @@
 		-avoid-version
 	sed -i "/dependency_libs/s/'.*'/''/" $@
 
-sqlite3$(TEXE):	shell.c sqlite3.c
+sqlite3$(TEXE):	shell.c libsqlite3.la
 	$(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \
-		shell.c sqlite3.c \
+		shell.c libsqlite3.la \
 		$(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
 
 sqldiff$(TEXE):	$(TOP)/tool/sqldiff.c sqlite3.lo sqlite3.h