summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-05-08 15:41:36 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-05-09 10:06:49 (GMT)
commita166615d7a0d346e519aa0e53a1e9776e41a4167 (patch)
treee53e4df0ad3a0618e4f120ee20c73263a37fe21d
parentb4068161ecc7789e04054508f969fa924d0cc0b1 (diff)
downloadQt-a166615d7a0d346e519aa0e53a1e9776e41a4167.zip
Qt-a166615d7a0d346e519aa0e53a1e9776e41a4167.tar.gz
Qt-a166615d7a0d346e519aa0e53a1e9776e41a4167.tar.bz2
Add the wayland client libraries to rpath if we use rpath
-rw-r--r--src/plugins/platforms/wayland/wayland.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/wayland.pro b/src/plugins/platforms/wayland/wayland.pro
index 8d2d4b5..f739fb1 100644
--- a/src/plugins/platforms/wayland/wayland.pro
+++ b/src/plugins/platforms/wayland/wayland.pro
@@ -31,6 +31,10 @@ INCLUDEPATH += $$QMAKE_INCDIR_WAYLAND
LIBS += $$QMAKE_LIBS_WAYLAND
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_WAYLAND
+!isEmpty(QMAKE_LFLAGS_RPATH) {
+ !isEmpty(QMAKE_LIBDIR_WAYLAND):QMAKE_LFLAGS += $${QMAKE_LFLAGS_RPATH}$${QMAKE_LIBDIR_WAYLAND}
+}
+
INCLUDEPATH += $$PWD
include ($$PWD/gl_integration/gl_integration.pri)