From c8358574342cfecc19a08499501a46c5022c89b2 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Fri, 10 Jun 2011 13:34:12 +0000 Subject: [PATCH] fix to nc-config for static builds --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 105b73449..b3d35a85b 100644 --- a/configure.ac +++ b/configure.ac @@ -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