[PATCH weston] build: Add glib-2.0 flags when building clients

Jonas Ådahl jadahl at gmail.com
Fri May 11 13:29:54 PDT 2012


Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---

It seems pkg-config MAY include glib-2.0 flags for cairo so add a check
for it to configure.ac in case it's not.

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 9a029f1..c299f81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,7 +137,7 @@ AM_CONDITIONAL(BUILD_CLIENTS, test x$enable_clients = xyes)
 if test x$enable_clients = xyes; then
   AC_DEFINE([BUILD_CLIENTS], [1], [Build the Wayland clients])
 
-  PKG_CHECK_MODULES(CLIENT, [wayland-client wayland-egl egl >= 7.10 cairo >= 1.10.0 xkbcommon xcursor])
+  PKG_CHECK_MODULES(CLIENT, [wayland-client wayland-egl egl >= 7.10 glib-2.0 cairo >= 1.10.0 xkbcommon xcursor])
 
   CLIENT_CFLAGS="$CLIENT_CFLAGS $IMAGE_CFLAGS"
   CLIENT_LIBS="$CLIENT_LIBS $IMAGE_LIBS"
-- 
1.7.9.5



More information about the wayland-devel mailing list