Fix accessing the rpath dir from included modules

The wrong variable was used when reading the module settings

Change-Id: If35dc9694240a68393b24d7dba72520108cb9ac3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
Romain Pokrzywka 2012-09-14 17:59:54 -07:00 committed by The Qt Project
parent e4486e9fd0
commit 84118ffa2c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ defineTest(qtAddModule) {
LINKAGE += $$lib
contains(QT_CONFIG, rpath) {
rpath = $$eval(QT.$${MODULE}.rpath)
rpath = $$eval(QT.$${1}.rpath)
isEmpty(rpath): rpath = $$MODULE_LIBS
QMAKE_RPATHDIR *= $$rpath
}