mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
sqlite: fix Libs.private
This commit is contained in:
parent
7703504a25
commit
a0b46893d8
2 changed files with 18 additions and 0 deletions
11
pkgs/development/libraries/sqlite/Libs.private.patch
Normal file
11
pkgs/development/libraries/sqlite/Libs.private.patch
Normal file
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue