summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2017-10-20 12:45:58 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2017-10-23 13:50:45 +0000
commit87eff0ea31bbaf4d3c3ff349ce32ff456794e2b5 (patch)
treecaf8219e381da731a45c72b25256c69fbe91f49d /mkspecs
parent88e6f8cff2974c46b1262f3a1a61e1440c664e0c (diff)
Fix resolution of QMAKE_INFO_PLIST for non-bundle artifacts
Change-Id: Id56cea1f09d7675fe60cdbd598e6f585a6b230d1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/mac/mac.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/mac/mac.prf b/mkspecs/features/mac/mac.prf
index 52f06ef773..73d8b1208b 100644
--- a/mkspecs/features/mac/mac.prf
+++ b/mkspecs/features/mac/mac.prf
@@ -13,5 +13,6 @@
}
$$add_plist: \
- QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote($$QMAKE_INFO_PLIST)
+ QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote( \
+ $$relative_path($$absolute_path($$QMAKE_INFO_PLIST, $$_PRO_FILE_PWD_), $$OUT_PWD))
}