summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-01 01:46:57 +0200
committerJim Meyering <meyering@redhat.com>2012-09-01 21:28:12 +0200
commit246fc2ba8d9ec5fb7ca1b2f47082f68d945e67e9 (patch)
tree23ac87e3aba176b01c7bfff39dfc42d837cb102d
parente6bd4e79139801fbf45a6eb381f105d826e75ca5 (diff)
downloadcoreutils-246fc2ba8d9ec5fb7ca1b2f47082f68d945e67e9.tar.xz
build: fix VPATH issues in C compilation
* src/local.mk (AM_CPPFLAGS): Add 'src' to the directories that are searched for #include'd files.
-rw-r--r--src/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local.mk b/src/local.mk
index e127c7497..218ea0f17 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -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