build: fix VPATH issues in C compilation

* src/local.mk (AM_CPPFLAGS): Add 'src' to the directories that
are searched for #include'd files.
This commit is contained in:
Jim Meyering committed 2012-09-01 21:28:12 +02:00
1 parent e6bd4e7913
commit 246fc2ba8d
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ CLEANFILES = $(SCRIPTS)
# or 'dist'.
CLEANFILES += $(no_install__progs)
AM_CPPFLAGS = -I$(top_srcdir)/lib
AM_CPPFLAGS = -I$(top_srcdir)/lib -Isrc
noinst_LIBRARIES = src/libver.a
nodist_src_libver_a_SOURCES = src/version.c src/version.h