Closed mbendiksen closed 6 years ago
Looks good. Please update the changelog.
Also, it would probably helpful to add some documentation for this, rather than just the comment in the script. How about to the description of the --universal
parameter?
--universal
Create universal FAT binary.
* macOS target requires --macos-archs "i386 x86_64" parameter as well
or something like that.
You could also just assume that if the user provides the -macos --universal
parameters that they do in fact want a FAT binary and just go ahead and set MACOS_ARCHS=("i386 x86_64"). Either way would be fine with me.
I just had it force i386 x86_64 whenever user specifies macOS and universal.
Re-opened pull request. Apparently I don't know how to use github very well. This one should be ready to merge in now.
Added (and tested) support for building 32 + 64 bit macOS universal.