From 0bd25167e8d75989312641b119218981af76fb42 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Tue, 10 Dec 2013 13:03:57 +0100 Subject: Link against glib if necessary. Change-Id: Ie0f87c24d15a6784cc9ed1201d3578ffbf94d191 Done-with: Carsten Munk Reviewed-by: Andrew Knight --- src/plugins/platforms/wayland_common/wayland_common_share.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland_common/wayland_common_share.pri b/src/plugins/platforms/wayland_common/wayland_common_share.pri index fb1e3335..a2e72715 100644 --- a/src/plugins/platforms/wayland_common/wayland_common_share.pri +++ b/src/plugins/platforms/wayland_common/wayland_common_share.pri @@ -17,8 +17,9 @@ config_xkbcommon { !contains(QT_CONFIG, no-pkg-config) { PKGCONFIG += wayland-client wayland-cursor + contains(QT_CONFIG, glib): PKGCONFIG_PRIVATE += glib-2.0 } else { - LIBS += -lwayland-client -lwayland-cursor + LIBS += -lwayland-client -lwayland-cursor $$QT_LIBS_GLIB } INCLUDEPATH += $$PWD/../../../shared -- cgit v1.2.3