From 246fc2ba8d9ec5fb7ca1b2f47082f68d945e67e9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 Sep 2012 01:46:57 +0200 Subject: build: fix VPATH issues in C compilation * src/local.mk (AM_CPPFLAGS): Add 'src' to the directories that are searched for #include'd files. --- src/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2