Mesa (master): svga: specify include path for git_sha1.h for out-of-src builds
Brian Paul
brianp at kemper.freedesktop.org
Fri Apr 7 19:51:09 UTC 2017
Module: Mesa
Branch: master
Commit: 5637a497a3d86ff0bff793a1ecc706239cfe6a6f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5637a497a3d86ff0bff793a1ecc706239cfe6a6f
Author: Brian Paul <brianp at vmware.com>
Date: Tue Apr 4 13:13:33 2017 -0600
svga: specify include path for git_sha1.h for out-of-src builds
If we're doing an out-of-src build, we need to specify the #include
patch to find git_sha1.h
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
---
src/gallium/drivers/svga/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am
index d46de95e4b..1ad5e0f91e 100644
--- a/src/gallium/drivers/svga/Makefile.am
+++ b/src/gallium/drivers/svga/Makefile.am
@@ -23,6 +23,9 @@
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
+AM_CPPFLAGS = \
+ -I$(top_builddir)/src
+
AM_CFLAGS = \
$(GALLIUM_DRIVER_CFLAGS) \
$(MSVC2013_COMPAT_CFLAGS)
More information about the mesa-commit
mailing list