1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00

librdf_redland: Fix db dependency

This fixes a regression introduced in 4b06383.

[dezgeg squashed in to fit the changes introduced in "db: Use more
conventional outputs, also split bin"]
This commit is contained in:
Josef Kemetmüller 2018-05-22 02:54:21 +02:00 committed by Tuomas Tynkkynen
parent 1bf30c9223
commit 79476b5883

View file

@ -28,7 +28,10 @@ stdenv.mkDerivation rec {
configureFlags =
[ "--with-threads" ]
++ stdenv.lib.optional withBdb "--with-bdb=${db}";
++ stdenv.lib.optionals withBdb [
"--with-bdb-include=${db.dev}/include"
"--with-bdb-lib=${db.out}/lib"
];
# Fix broken DT_NEEDED in lib/redland/librdf_storage_sqlite.so.
NIX_CFLAGS_LINK = "-lraptor2";