Hello,

This fixes the build when the build directory is not the source directory.

-- 
Jean-Sébastien Pédron
From 15b05331ac969c9f86d8782da07dfd17c0c8a9ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbb...@freebsd.org>
Date: Wed, 5 Jun 2013 13:35:01 +0200
Subject: [PATCH 3/9] Use "-I$(srcdir)/include", not "-Iinclude" in AM_CPPFLAGS

This fixes the build when the build directory is not the source
directory.
---
 src/gallium/drivers/ilo/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/ilo/Makefile.am b/src/gallium/drivers/ilo/Makefile.am
index 86901b0..161b38c 100644
--- a/src/gallium/drivers/ilo/Makefile.am
+++ b/src/gallium/drivers/ilo/Makefile.am
@@ -27,7 +27,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 noinst_LTLIBRARIES = libilo.la
 
 AM_CPPFLAGS = \
-	-Iinclude \
+	-I$(srcdir)/include \
 	-I$(top_srcdir)/src/gallium/winsys/intel/drm \
 	$(GALLIUM_CFLAGS)
 
-- 
1.8.3.1

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to