cxx4: Move -lnetcdf to LIBADD so its used.

This commit is contained in:
orbea 2021-03-25 12:24:57 -07:00
parent 162d78a8c4
commit 10cda5e229

View File

@ -3,15 +3,13 @@
# This file builds the new C++-4 interface.
# Point pre-preprocessor to netcdf-4 directory (libsrc4).
LDADD = $(top_builddir)/cxx4/libnetcdf_c++4.la -lnetcdf
# This is our output library.
lib_LTLIBRARIES = libnetcdf_c++4.la
# For rules updating the version info, see
# http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html
libnetcdf_c__4_la_LDFLAGS = -version-info 2:0:1 -no-undefined
libnetcdf_c__4_la_LIBADD = -lnetcdf
# These headers will be installed in the users header directory.
include_HEADERS = netcdf ncAtt.h ncCheck.h ncDim.h ncException.h \