summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-12-20 13:24:20 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-12-20 13:46:10 +0000
commit73afd5af2f8bf730f4cba08beb911e731d1cf0f9 (patch)
tree332b9bc8c17ecbbd2dec25cc320fbec44ce7b022
parentc1c830abb5e87cf0441f6732f5cbd953d59f1c5b (diff)
Do the rpath fixup on linux also when building with clang
There is no reason to tie this to g++ specifically. Change-Id: I54fc9a38825a63c896cbc13853f6fefff5c93845 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--elfutils.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/elfutils.pri b/elfutils.pri
index 37f2e0c..f56a87f 100644
--- a/elfutils.pri
+++ b/elfutils.pri
@@ -11,7 +11,7 @@ win32 {
LIBS += -leu_compat
}
-linux-g++*:!isEmpty(PERFPARSER_ELFUTILS_INSTALLDIR) {
+linux:!isEmpty(PERFPARSER_ELFUTILS_INSTALLDIR) {
RPATH = $$relative_path($$PERFPARSER_ELFUTILS_INSTALLDIR, $$PERFPARSER_APP_INSTALLDIR)
QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,\$\$ORIGIN/$$RPATH\'
}