netcdf/netcdf-4.1.2-libm.patch
Orion Poplawski cdf7f78362 Update to 4.1.2 (soname bump)
Add patch to add -lm to libnetcdf4
2011-03-31 12:00:28 -06:00

12 lines
439 B
Diff

--- netcdf-4.1.2/libsrc4/Makefile.in.libm 2011-03-29 17:14:04.000000000 -0600
+++ netcdf-4.1.2/libsrc4/Makefile.in 2011-03-31 11:09:36.683165942 -0600
@@ -312,7 +312,7 @@
# Tell libtool what libraries are we will depend on.
# Always link to hdf5_hl, hdf5, and z.
-libnetcdf4_la_LIBADD = $(am__append_12) $(am__append_13) -lhdf5_hl \
+libnetcdf4_la_LIBADD = -lm $(am__append_12) $(am__append_13) -lhdf5_hl \
-lhdf5 -lz
all: all-am