Fix a redland linking problem

svn path=/nixpkgs/trunk/; revision=22427
This commit is contained in:
Michael Raskin 2010-06-29 20:23:17 +00:00
parent 66ff572c8b
commit f366f3020c

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
librdf_raptor librdf_rasqal
];
preConfigure = ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lrasqal -lraptor"
'';
configureFlags =
[ "--with-threads" ]
++ stdenv.lib.optional (bdb != null) "--with-bdb=${bdb}";