Fix OBS build error for X11-wearable profile. 66/44866/1
authorsuyambu.rm <suyambu.rm@samsung.com>
Tue, 28 Jul 2015 14:10:25 +0000 (19:40 +0530)
committersuyambu.rm <suyambu.rm@samsung.com>
Tue, 28 Jul 2015 14:31:26 +0000 (20:01 +0530)
Linking wayland-egl with Cairo creates build errors
related to cairo mutex.

Change-Id: I672e2976f85a47ac67a5359ae75d742e169c5dc1
Signed-off-by: suyambu.rm <suyambu.rm@samsung.com>
configure.ac

index bd33aad..e4a92d4 100644 (file)
@@ -54,10 +54,10 @@ AC_CHECK_LIB(wayland-client, wl_display_connect,
      [AC_CHECK_HEADER(wayland-client.h, [
       have_wayland=yes
       AC_DEFINE(HAVE_WAYLAND, 1, [Define to 1 if you have wayland available])
-      wayland_LIBS="-lwayland-client -lwayland-egl"
+      wayland_LIBS="-lwayland-client"
      ],
-     [have_wayland="no (requires wayland-egl)"])],
-     [have_wayland="no (requires wayland-egl)"])
+     [have_wayland="no (requires wayland-client)"])],
+     [have_wayland="no (requires wayland-client)"])
 LIBS="$wayland_LIBS $LIBS"
 
 save_LIBS="$LIBS"