summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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