Does qmake support a QMAKE_ variable for setting -rpath-link?
-
According to the "docs":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#qmake-lflags-rpath: all of these are the same. Strange that there are three of them, then. Perhaps, it's worth trying if they actually translate into exactly the same link line.
QMAKE_LFLAGS_RPATH
This is used on Unix platforms only.
Library paths in this definition are added to the executable at link time so that the added paths will be preferentially searched at runtime.
QMAKE_RPATH
This is used on Unix platforms only.
Is equivalent to QMAKE_LFLAGS_RPATH.
QMAKE_RPATHDIR
This is used on Unix platforms only.
A list of library directory paths, these paths are added to the executable at link time so that the paths will be preferentially searched at runtime.