[staging-next] sqlite: fix Libs.private (#381207)

authored by K900 and committed by GitHub 9608305f 9ec082cb

+18
+11
pkgs/development/libraries/sqlite/Libs.private.patch
··· 1 + diff --git a/sqlite3.pc.in b/sqlite3.pc.in 2 + index a9f941b..3799671 100644 3 + --- a/sqlite3.pc.in 4 + +++ b/sqlite3.pc.in 5 + @@ -9,5 +9,5 @@ Name: SQLite 6 + Description: SQL database engine 7 + Version: @PACKAGE_VERSION@ 8 + Libs: -L${libdir} -lsqlite3 9 + -Libs.private: @LDFLAGS_MATH@ @LDFLAGS_ZLIB@ @LDFLAGS_ICU@ 10 + +Libs.private: @LIBS@ 11 + Cflags: -I${includedir}
+7
pkgs/development/libraries/sqlite/default.nix
··· 29 29 hash = "sha256-PcE3/NfGrLMmr2CmG5hE3RXTdzywXnqc4nbEH3E9dlo="; 30 30 }; 31 31 32 + patches = [ 33 + # https://sqlite.org/forum/forumpost/3380558ea82c8a3e 34 + # Can be removed with the next release. 35 + # Test: pkgsStatic.gnupg 36 + ./Libs.private.patch 37 + ]; 38 + 32 39 outputs = [ "bin" "dev" "man" "doc" "out" ]; 33 40 separateDebugInfo = stdenv.hostPlatform.isLinux; 34 41