gallium/egl: fix out-of-tree build
authorAndreas Boll <andreas.boll.dev@gmail.com>
Sat, 16 Mar 2013 13:04:24 +0000 (14:04 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Tue, 19 Mar 2013 17:12:38 +0000 (18:12 +0100)
Taken from downstream:
http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/15-fix-oot-build.diff;h=7040999a22d3937d0578cfd85ee2c71d7dc614bb;hb=refs/heads/ubuntu%2B1

NOTE: This is a candidate for the 9.1 branch.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/state_trackers/egl/Makefile.am

index e19e9a31bdbe70862638ad10e1c5e010e53bee67..f78b36e3d1247c3225b0ab62743c29b916c8de28 100644 (file)
@@ -27,7 +27,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 AM_CFLAGS = $(GALLIUM_CFLAGS)
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/egl/main \
-       -I$(top_srcdir)/src/egl/wayland/wayland-drm/ \
+       -I$(top_builddir)/src/egl/wayland/wayland-drm/ \
        -I$(top_srcdir)/include
 
 noinst_LTLIBRARIES = libegl.la