[staging-next] sqlite: fix Libs.private (#381207)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
diff --git a/sqlite3.pc.in b/sqlite3.pc.in
|
||||
index a9f941b..3799671 100644
|
||||
--- a/sqlite3.pc.in
|
||||
+++ b/sqlite3.pc.in
|
||||
@@ -9,5 +9,5 @@ Name: SQLite
|
||||
Description: SQL database engine
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lsqlite3
|
||||
-Libs.private: @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@
|
||||
+Libs.private: @LIBS@
|
||||
Cflags: -I${includedir}
|
||||
@@ -29,6 +29,13 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-PcE3/NfGrLMmr2CmG5hE3RXTdzywXnqc4nbEH3E9dlo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://sqlite.org/forum/forumpost/3380558ea82c8a3e
|
||||
# Can be removed with the next release.
|
||||
# Test: pkgsStatic.gnupg
|
||||
./Libs.private.patch
|
||||
];
|
||||
|
||||
outputs = [ "bin" "dev" "man" "doc" "out" ];
|
||||
separateDebugInfo = stdenv.hostPlatform.isLinux;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user