diff options
| author | Charlie Sharpsteen | 2010-05-08 15:37:34 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-12 07:18:13 -0700 |
| commit | 411402049d0c2bde48b252b5fd0661fc4cd76308 (patch) | |
| tree | 8f86d6376bdbb066943778c0b5ec2073eba3ba18 /Library/Formula/ghostscript.rb | |
| parent | b14e63a506835552d0719c26b09364752ed10c1e (diff) | |
| download | homebrew-411402049d0c2bde48b252b5fd0661fc4cd76308.tar.bz2 | |
Updated NetCDF to build shared libs
By default, NetCDF only builds static libs. This leads to some
complicated dependencies that must be satisfied by other programs that
link against libnetcdf.a:
nc-config --libs
-L/<brew root>/Cellar/netcdf/4.1.1/lib -lnetcdf
-L/<brew root>/Cellar/hdf5/1/lib -lhdf5_hl -lhdf5 -lz -lm -lcurl
HDF5 is required to access version 4 of the NetCDF file format.
When shared libraries are provided, the linking requirements are
greatly simplified:
nc-config --libs
-L/<brew root>/Cellar/netcdf/4.1.1/lib -lnetcdf
This eases the build process for other formulas that depend on NetCDF
libraries.
The static libraries are still compiled and available for use.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/ghostscript.rb')
0 files changed, 0 insertions, 0 deletions
