hdf5: Optional enableShared flag

Required by h5py in mpi mode.
This commit is contained in:
Andreas Herrmann 2014-07-02 15:10:02 +02:00
parent 2728b27f75
commit 37b064fcc7

View File

@ -4,6 +4,7 @@
, zlib ? null
, szip ? null
, mpi ? null
, enableShared ? true
}:
stdenv.mkDerivation rec {
version = "1.8.13";
@ -28,6 +29,7 @@ stdenv.mkDerivation rec {
configureFlags = "
${if szip != null then "--with-szlib=${szip}" else ""}
${if mpi != null then "--enable-parallel" else ""}
${if enableShared then "--enable-shared" else ""}
";
patches = [./bin-mv.patch];