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";