From f90fe363522a8ce5530f11ecdf2859049df765a0 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Tue, 12 Feb 2013 12:24:38 +0100 Subject: Add wayland_common static lib to PRE_TARGETDEPS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, if a change was made to libwayland_common.a after the first build, the platform plugins were not re-linked against the new library. By adding the library to the PRE_TARGETDEPS of the platform plugins, this assures that if the wayland_common library changes, the plugin gets relinked. Change-Id: Ia8b3e9c5d92c9ed21bba196897f6b9fa70b6f889 Reviewed-by: Paul Olav Tvete Reviewed-by: Oswald Buddenhagen Reviewed-by: Jørgen Lind --- src/plugins/platforms/wayland_common/wayland_common.pri | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/platforms/wayland_common/wayland_common.pri') diff --git a/src/plugins/platforms/wayland_common/wayland_common.pri b/src/plugins/platforms/wayland_common/wayland_common.pri index 6a58d6fad..213e82f3c 100644 --- a/src/plugins/platforms/wayland_common/wayland_common.pri +++ b/src/plugins/platforms/wayland_common/wayland_common.pri @@ -23,5 +23,6 @@ INCLUDEPATH += $$PWD $$PWD/../../../shared LIBS += -lwayland-client -lwayland-cursor } -LIBS += $$PWD/libwayland_common.a - +staticlib = $$PWD/libwayland_common.$${QMAKE_EXTENSION_STATICLIB} +LIBS += $$staticlib +PRE_TARGETDEPS += $$staticlib -- cgit v1.2.3