configure.ac: split the wayland client/server confusion
[mesa.git] / src / gbm / Makefile.am
index f5fa81c7c968d2e11d506e41906e77961a3bdb33..805208a3ca91f8eed96ffd8dd706c2732474f0aa 100644 (file)
@@ -31,8 +31,8 @@ libgbm_la_LIBADD = \
        $(DLOPEN_LIBS)
 
 if HAVE_PLATFORM_WAYLAND
        $(DLOPEN_LIBS)
 
 if HAVE_PLATFORM_WAYLAND
-AM_CFLAGS += $(WAYLAND_CFLAGS)
-libgbm_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la $(WAYLAND_LIBS)
+AM_CFLAGS += $(WAYLAND_SERVER_CFLAGS)
+libgbm_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la $(WAYLAND_SERVER_LIBS)
 endif
 
 if HAVE_DRI2
 endif
 
 if HAVE_DRI2