mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r9100] Purpose:
Bug fix Description: The examples would compile even if some header file were not installed. That was because the CPPFLAGS has -I... components that included the src directories. Solution: The h5cc or h5pcc commands should have all the necessarily library include directories covered. Changed CPPFLAGS to search only the examples source directory for local header files. Platforms tested: No h5committest tests which do not check examples. Hand tested it in sol.
This commit is contained in:
parent
3710e39396
commit
3646a3f83d
@ -21,7 +21,7 @@ srcdir=@srcdir@
|
||||
## Replace building CC with the just installed h5cc
|
||||
H5CC=$(bindir)/h5cc
|
||||
H5CC_PP=$(bindir)/h5pcc
|
||||
CPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/src -I$(top_srcdir)/src @CPPFLAGS@
|
||||
CPPFLAGS=-I. -I$(srcdir)
|
||||
CFLAGS=
|
||||
|
||||
## These are the programs that `make all' or `make tests' will build and which
|
||||
|
Loading…
Reference in New Issue
Block a user