summaryrefslogtreecommitdiff
path: root/debian/patches/32-fix-pkgconfig-libname.patch
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 /debian/patches/32-fix-pkgconfig-libname.patch
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
Diffstat (limited to 'debian/patches/32-fix-pkgconfig-libname.patch')
-rw-r--r--debian/patches/32-fix-pkgconfig-libname.patch11
1 files changed, 11 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