fix to nc-config for static builds

This commit is contained in:
Ed Hartnett 2011-06-10 13:34:12 +00:00
parent 6cb0933d7b
commit c835857434

View File

@ -954,7 +954,7 @@ else
NC_LIBS="$with_netcdf_c_lib"
fi
if test "x$enable_shared" != xyes; then
NC_LIBS="$NC_LIBS $LIBS"
NC_LIBS="$LDFLAGS $NC_LIBS $LIBS"
fi
case "x$target_os" in