SHA256
1
0
forked from pool/Mesa
Mesa/u_gallium-egl-gbm-use-wayland-cflags.patch
Stefan Dirsch f40122da29 Accepting request 198016 from home:duwe:branches:X11:XOrg
- u_wayland-egl-pc-require-wayland.patch: after finding wayland
  for egl, make sure its pkconfig is used as well.

OBS-URL: https://build.opensuse.org/request/show/198016
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=316
2013-09-09 13:38:19 +00:00

11 lines
342 B
Diff

--- Mesa-9.1/src/gallium/state_trackers/gbm/Makefile.am.orig
+++ Mesa-9.1/src/gallium/state_trackers/gbm/Makefile.am
@@ -27,6 +27,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/gbm/main \
-I$(top_srcdir)/include
if HAVE_EGL_PLATFORM_WAYLAND
+AM_CPPFLAGS += `pkg-config --cflags wayland-server`
AM_CPPFLAGS += -DHAVE_WAYLAND_PLATFORM
endif