summaryrefslogtreecommitdiffstats
path: root/debian/patches/10-520478-squash-bad-deps.patch
blob: 665ab2717d43de374ad1f497736089c128b157db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- sqlite3-3.9.1.orig/Makefile.in
+++ sqlite3-3.9.1/Makefile.in
@@ -597,6 +597,7 @@ sqlite3.pc: $(TOP)/sqlite3.pc.in
 libsqlite3.la:	$(LIBOBJ)
 	$(LTLINK) -no-undefined -o $@ $(LIBOBJ) $(TLIBS) \
 		${ALLOWRELEASE} -rpath "$(libdir)" -version-info "8:6:8"
+	sed -i "/dependency_libs/s/'.*'/''/" $@
 
 libtclsqlite3.la:	tclsqlite.lo libsqlite3.la
 	$(LTLINK) -no-undefined -o $@ tclsqlite.lo \
@@ -604,6 +605,7 @@ libtclsqlite3.la:	tclsqlite.lo libsqlite
 		-rpath "$(TCLLIBDIR)" \
 		-version-info "8:6:8" \
 		-avoid-version
+	sed -i "/dependency_libs/s/'.*'/''/" $@
 
 sqlite3$(TEXE):	shell.c sqlite3.c
 	$(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \