openvdb: *Flags are lists

This commit is contained in:
Robin Gloster 2019-10-29 23:21:22 +01:00 committed by Jan Tojnar
parent 81548bf7da
commit 5572288ec2
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -20,21 +20,22 @@ stdenv.mkDerivation rec
sourceRoot=$(echo */openvdb) sourceRoot=$(echo */openvdb)
''; '';
installTargets = "install_lib"; installTargets = [ "install_lib" ];
enableParallelBuilding = true; enableParallelBuilding = true;
buildFlags = ''lib buildFlags = [
DESTDIR=$(out) "lib"
HALF_LIB=-lHalf "DESTDIR=$(out)"
TBB_LIB=-ltbb "HALF_LIB=-lHalf"
BLOSC_LIB=-lblosc "TBB_LIB=-ltbb"
LOG4CPLUS_LIB= "BLOSC_LIB=-lblosc"
BLOSC_INCLUDE_DIR=${c-blosc}/include/ "LOG4CPLUS_LIB="
BLOSC_LIB_DIR=${c-blosc}/lib/ "BLOSC_INCLUDE_DIR=${c-blosc}/include/"
''; "BLOSC_LIB_DIR=${c-blosc}/lib/"
];
installFlags = ''DESTDIR=$(out)''; installFlags = [ "DESTDIR=$(out)" ];
NIX_CFLAGS_COMPILE="-I${openexr.dev}/include/OpenEXR -I${ilmbase.dev}/include/OpenEXR/"; NIX_CFLAGS_COMPILE="-I${openexr.dev}/include/OpenEXR -I${ilmbase.dev}/include/OpenEXR/";
NIX_LDFLAGS="-lboost_iostreams"; NIX_LDFLAGS="-lboost_iostreams";