From f6f5fc0c4534b847aef88e6a448b23f2c434daa3 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 1 Dec 2000 10:46:54 -0500 Subject: [svn-r3047] Purpose: Bug fix Description: When building in a different directory, we weren't picking up the header files correctly. The -I flag wasn't pointing to the correct place. Solution: Changed the -I flag to point to the C++ source directory. Platforms tested: Linux --- c++/examples/Makefile.in | 2 +- c++/test/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index 376bd2a..d41d231 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -14,7 +14,7 @@ hdf5_builddir=$(top_builddir)/src ## Add include directory to the C++ preprocessor flags and the hdf5 ## library to the library list. LIB=../src/libhdf5_cpp.la -CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@ +CPPFLAGS=-I. -I$(srcdir) -I../src -I$(srcdir)/../src @CPPFLAGS@ LIBHDF5=$(hdf5_builddir)/libhdf5.la ## List all source files here. The list of object files will be diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index de75fbe..59ad521 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -15,7 +15,7 @@ hdf5_builddir=$(top_builddir)/src ## libraries to the library list. LT_LINK_LIB=$(LT) --mode=link $(CXX) -rpath $(libdir) LIB=../src/libhdf5_cpp.la -CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@ +CPPFLAGS=-I. -I$(srcdir) -I../src -I$(srcdir)/../src @CPPFLAGS@ HDF5LIB=$(hdf5_builddir)/libhdf5.la TEST_PROGS_SRC= -- cgit v0.12