Browse Source

egl_dri2: Fix out of tree builds with the wayland backend enabled

Otherwise it fails like so:

  CC     egl_dri2.lo
In file included from egl_dri2.h:40:0,
                 from egl_dri2.c:42:
../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41:
fatal error: wayland-drm-server-protocol.h: No such file or directory
compilation terminated.
tags/i965-primitive-restart-v2
Robert Hooker 13 years ago
parent
commit
c384c5d4d7
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/egl/drivers/dri2/Makefile.am

+ 1
- 0
src/egl/drivers/dri2/Makefile.am View File

@@ -26,6 +26,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/gbm/backends/dri \
-I$(top_srcdir)/src/egl/wayland/wayland-egl \
-I$(top_srcdir)/src/egl/wayland/wayland-drm \
-I$(top_builddir)/src/egl/wayland/wayland-drm \
$(DEFINES) \
$(LIBDRM_CFLAGS) \
$(LIBUDEV_CFLAGS) \

Loading…
Cancel
Save