Skip to content

Commit

Permalink
Do the rpath fixup on linux also when building with clang
Browse files Browse the repository at this point in the history
There is no reason to tie this to g++ specifically.

Change-Id: I54fc9a38825a63c896cbc13853f6fefff5c93845
Reviewed-by: Christian Kandeler <[email protected]>
  • Loading branch information
Ulf Hermann committed Dec 20, 2018
1 parent c1c830a commit 73afd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elfutils.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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\'
}

0 comments on commit 73afd5a

Please sign in to comment.