diff --git a/cxx/Makefile.am b/cxx/Makefile.am index a867810e6..32b5b2b61 100644 --- a/cxx/Makefile.am +++ b/cxx/Makefile.am @@ -70,7 +70,7 @@ lib_LTLIBRARIES = libnetcdf_c++.la libnetcdf_c___la_SOURCES = netcdf.cpp ncvalues.cpp libnetcdf_c___la_LDFLAGS = -version-number 4:1:0 libnetcdf_c___la_CPPFLAGS = ${AM_CPPFLAGS} -libnetcdf_c__4_la_LIBADD = $(top_builddir)/libsrc4/libnetcdf.la +libnetcdf_c__4_la_LIBADD = $(top_builddir)/liblib/libnetcdf.la # If we are building the dll (under MinGW) then set the correct flags. if BUILD_DLL