Commits

Satish Balay committed 54ca479

netcdf5 - build requires hdf5 info.

Hg-commit: a3d4112fd674fc4f9d7425c3b9e009d18ebf16eb

Comments (0)

Files changed (1)

config/packages/netcdf.py

     args = []
     args.append('AR="'+self.setCompilers.AR+'"')
     args.append('ARFLAGS="'+self.setCompilers.AR_FLAGS+'"')
+    args.append('CPPFLAGS="'+self.headers.toString(self.hdf5.include)+'"')
+    args.append('LIBS="'+self.libraries.toString(self.hdf5.lib)+'"')
     args.append('--libdir='+os.path.join(self.installDir,self.libdir))
     args.append('--disable-dap')
     args.append('--disable-hdf4')