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)
'';
installTargets = "install_lib";
installTargets = [ "install_lib" ];
enableParallelBuilding = true;
buildFlags = ''lib
DESTDIR=$(out)
HALF_LIB=-lHalf
TBB_LIB=-ltbb
BLOSC_LIB=-lblosc
LOG4CPLUS_LIB=
BLOSC_INCLUDE_DIR=${c-blosc}/include/
BLOSC_LIB_DIR=${c-blosc}/lib/
'';
buildFlags = [
"lib"
"DESTDIR=$(out)"
"HALF_LIB=-lHalf"
"TBB_LIB=-ltbb"
"BLOSC_LIB=-lblosc"
"LOG4CPLUS_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_LDFLAGS="-lboost_iostreams";