Commit 91e53a7b authored by Tor Arne Vestbø's avatar Tor Arne Vestbø Committed by Jani Heikkinen
Browse files

Xcode: Make sure QMAKE_PRE_LINK dependencies are complete for multi-arch builds


With multi-architecture builds and ONLY_ACTIVE_ARCH set to NO, Xcode will
build the final target for multiple architectures at the same time, but
CURRENT_ARCH will only match one of them, so we failed to set up the
right dependencies for our pre-link step, causing the step to happen
after linking in some cases.

We now build an exhaustive dependency list based on QMAKE_XCODE_ARCHS,
so that ONLY_ACTIVE_ARCH=NO can be used for release builds targeted at
the App Store.

Change-Id: I6702f020a6970807adc624779f6dde09be62beb9
Reviewed-by: default avatarAndy Shaw <andy.shaw@digia.com>
parent d4fcf2ca
No related merge requests found
Showing with 17 additions and 2 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment