summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2014-07-31 14:01:37 -0400
committerHans-Christoph Steiner <hans@eds.org>2014-07-31 14:26:13 -0400
commit034ff40336dd80f57139a1c3990ffb362ff58459 (patch)
treef67214e7d4996499321d8c40cabc448c75ecd25f
parent69fbae2bebf65ac79e96d96d312669e9c893f55f (diff)
fix libname in pkgconfig (Closes: #741907)
Reported by Adam Majer <adamm@zombino.com> $ pkg-config --libs sqlcipher -lsqlite3 I would expect -lsqlcipher instead. pkg-config --cflags sqlcipher could include the -I/usr/include/sqlcipher, but this is less important. pkg-config --list-all | grep sqlcipher sqlcipher SQLite - SQL database engine https://bugs.debian.org/741907
-rw-r--r--debian/patches/32-fix-pkgconfig-libname.patch11
-rw-r--r--debian/patches/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/32-fix-pkgconfig-libname.patch b/debian/patches/32-fix-pkgconfig-libname.patch
new file mode 100644
index 0000000..eaad182
--- /dev/null
+++ b/debian/patches/32-fix-pkgconfig-libname.patch
@@ -0,0 +1,11 @@
+--- a/sqlcipher.pc.in
++++ b/sqlcipher.pc.in
+@@ -8,6 +8,6 @@ includedir=@includedir@
+ Name: SQLite
+ Description: SQL database engine
+ Version: @RELEASE@
+-Libs: -L${libdir} -lsqlite3
++Libs: -L${libdir} -lsqlcipher
+ Libs.private: @LIBS@
+-Cflags: -I${includedir}
++Cflags: -I${includedir}/sqlcipher
diff --git a/debian/patches/series b/debian/patches/series
index bc284d0..d61f349 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
20-change-name-to-sqlcipher.patch
20-hurd-locking-style.patch
31-increase_SQLITE_MAX_DEFAULT_PAGE_SIZE_to_32k.patch
+32-fix-pkgconfig-libname.patch