qmake: fix .prl file generation for bundles
amends 2b27646146a. Fixes: QTBUG-70444 Change-Id: I8bd310f5624ea0ac9260c7d9ea0d29b0c9caa077 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
efc7e02911
commit
1dd6433b19
@ -1101,8 +1101,6 @@ QString
|
||||
MakefileGenerator::prlFileName(bool fixify)
|
||||
{
|
||||
QString ret = project->first("PRL_TARGET") + Option::prl_ext;
|
||||
if(!project->isEmpty("QMAKE_BUNDLE"))
|
||||
ret.prepend(project->first("QMAKE_BUNDLE") + Option::dir_sep);
|
||||
if(fixify) {
|
||||
if(!project->isEmpty("DESTDIR"))
|
||||
ret.prepend(project->first("DESTDIR").toQString());
|
||||
|
@ -1225,6 +1225,8 @@ void UnixMakefileGenerator::init2()
|
||||
else
|
||||
ar_cmd.append("$(AR) $(TARGETA) $(OBJECTS)");
|
||||
if (!project->isEmpty("QMAKE_BUNDLE")) {
|
||||
project->values("PRL_TARGET").prepend(
|
||||
project->first("QMAKE_BUNDLE") + Option::dir_sep + project->first("TARGET"));
|
||||
ProString bundle_loc = project->first("QMAKE_BUNDLE_LOCATION");
|
||||
if(!bundle_loc.isEmpty() && !bundle_loc.startsWith("/"))
|
||||
bundle_loc.prepend("/");
|
||||
|
Loading…
x
Reference in New Issue
Block a user