diff -Naur netcdf-3.6.1/src/cxx/Makefile netcdf-3.6.1-new/src/cxx/Makefile --- netcdf-3.6.1/src/cxx/Makefile 2006-01-26 15:13:44.000000000 -0500 +++ netcdf-3.6.1-new/src/cxx/Makefile 2006-10-22 18:41:18.000000000 -0400 @@ -11,6 +11,8 @@ nctst.cpp ncvalues.cpp ncvalues.h netcdf.cpp netcdfcpp.h \ netcdf.hh install-sh ref_nctst.cdl ref_nctst_64bit_offset.cdl +CXXFLAGS += -fPIC + LIBRARY = libnetcdf_c++.a lib_netcdf = ../libsrc/libnetcdf.a ld_netcdf = -L../libsrc -lnetcdf diff -Naur netcdf-3.6.1/src/libsrc/Makefile netcdf-3.6.1-new/src/libsrc/Makefile --- netcdf-3.6.1/src/libsrc/Makefile 2005-02-17 11:15:11.000000000 -0500 +++ netcdf-3.6.1-new/src/libsrc/Makefile 2006-10-22 18:40:36.000000000 -0400 @@ -14,6 +14,8 @@ MANUAL = netcdf.3 +CFLAGS += -fPIC + LIB_CSRCS = \ attr.c \ dim.c \