Mesa (master): egl: Add include paths for platform autodetection

Benjamin Franzke bnf at kemper.freedesktop.org
Tue Aug 16 17:31:33 UTC 2011


Module: Mesa
Branch: master
Commit: 61d2dfbe488cf5de5881c20fe1ead97f2ab5dabb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61d2dfbe488cf5de5881c20fe1ead97f2ab5dabb

Author: Benjamin Franzke <benjaminfranzke at googlemail.com>
Date:   Tue Aug 16 19:23:18 2011 +0200

egl: Add include paths for platform autodetection

Needed since commit 85fe9484.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40145

---

 src/egl/main/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index c100fbf..3172ad2 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -63,6 +63,7 @@ EGL_LIB_DEPS += $(XCB_DRI2_LIBS)
 endif
 ifneq ($(findstring drm, $(EGL_PLATFORMS)),)
 EGL_LIB_DEPS += -lgbm
+INCLUDE_DIRS += -I$(TOP)/src/gbm/main
 endif
 EGL_LIB_DEPS += $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIB) $(WAYLAND_LIBS)
 endif
@@ -70,6 +71,7 @@ endif
 
 ifneq ($(findstring wayland, $(EGL_PLATFORMS)),)
 LOCAL_LIBS += $(TOP)/src/egl/wayland/wayland-drm/libwayland-drm.a
+INCLUDE_DIRS += $(WAYLAND_CFLAGS)
 endif
 
 ifeq ($(filter glx, $(EGL_DRIVERS_DIRS)),glx)




More information about the mesa-commit mailing list