summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorArmin K <krejzi@email.com>2013-08-11 17:27:23 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-08-12 15:16:22 -0700
commitf423eba46e080b975a2b8366b490d99dee4729ad (patch)
treec36baeb655388c593367727dc88419e74e16a8f3 /src/gbm
parentcd2f26090a3857703bc85bd58ac5922800b06bc0 (diff)
gbm: Link to libwayland-drm if Wayland EGL platform is enabled
We were relying on libEGL to pull in libwayland-client symbols, but with commit 2c2e64edaba0f6aeb181ca5b51eb8dea8e9b39f9 cleaned up the symbol leak. https://bugs.freedesktop.org/show_bug.cgi?id=67962
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index e22c55cfdac..1282b147c27 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -24,6 +24,7 @@ libgbm_la_LIBADD = $(LIBUDEV_LIBS) $(LIBKMS_LIBS) $(DLOPEN_LIBS)
if HAVE_EGL_PLATFORM_WAYLAND
AM_CPPFLAGS = -DHAVE_WAYLAND_PLATFORM
AM_CFLAGS += $(WAYLAND_CFLAGS)
+libgbm_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la $(WAYLAND_LIBS)
endif
if HAVE_DRI
@@ -38,7 +39,7 @@ libgbm_dri_la_CFLAGS = \
$(LIBDRM_CFLAGS)
libgbm_la_LIBADD += \
- libgbm_dri.la $(top_builddir)/src/mapi/shared-glapi/libglapi.la
+ libgbm_dri.la $(top_builddir)/src/mapi/shared-glapi/libglapi.la $(LIBDRM_LIBS)
endif
all-local: libgbm.la