From fb29e4bf8df6d011e324506d3a5b47905a0c7555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 17 May 2014 09:23:02 +0200 Subject: [PATCH] fix -I flags to support building out-of-source When building out-of-source, the headers are located in subdirectories in $(top_srcdir) rather than $(top_builddir). Adjust AM_CPPFLAGS accordingly. URL: https://bugs.gentoo.org/510522 --- src/bin/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 1d3d445..111c24a 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in AM_CPPFLAGS = \ -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ --I$(top_builddir)/src/lib \ +-I$(top_srcdir)/src/lib \ $(X_CFLAGS) if BUILD_X11