Open adam-nielsen opened 6 years ago
I don't think the change could be harmful, especially because hdf5 lib is already a dependency of netcdf, so this change does not add further pre-reqs. Would you mind doing a PR?
Sorry for the delay with this, PR created.
If you have compiled the
netcdf4
andhdf5
libraries statically (in my case, because I want to deploy to AWS Lambda), then the module is built but it cannot be loaded due to missing symbols:It turns out this is due to a missing library dependency in
binding.gyp
, and the solution is to specify the dependent library:I haven't been able to test this with shared libraries (as my environment is only building static ones) but if it doesn't break the shared library build, could this change be included for the benefit of those using static libraries?