diff --git a/examples/cxx/Makefile.in b/examples/cxx/Makefile.in index 7c4fadd36..465e5b77e 100755 --- a/examples/cxx/Makefile.in +++ b/examples/cxx/Makefile.in @@ -31,7 +31,11 @@ FORT = @F90@ FORT_FLAGS = @FFLAGS@ # Fortran libraries +ifeq (@build_with_f2c@, 0) FORT_LIBS = @FLIBS@ +else +FORT_LIBS = +endif # the C++ compiler CXX = @CXX@