From 479df003a0140c6563316a0b5e60e899e4457e06 Mon Sep 17 00:00:00 2001 From: nowrep Date: Tue, 19 Nov 2013 20:09:59 +0100 Subject: [PATCH] defines.pri: Set QMAKE_LFLAGS_RPATH when empty Closes #1089 --- src/defines.pri | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/defines.pri b/src/defines.pri index 5bb64eb9e..18a234a90 100644 --- a/src/defines.pri +++ b/src/defines.pri @@ -134,3 +134,7 @@ isEmpty(QMAKE_LRELEASE) { !exists($$QMAKE_LRELEASE) { QMAKE_LRELEASE = lrelease } } } + +isEmpty(QMAKE_LFLAGS_RPATH) { + QMAKE_LFLAGS_RPATH = -Wl,-rpath, +}