Skip to content

macosx: Cleanup list of frameworks linkages, build.sh HOST_ARCH detection

David requested to merge dfuhrmann/vlc:macosx-build-fixes into master

macosx build.sh: Automatically detect HOST_ARCH

Do not hardcode HOST_ARCH to x86_64, but read out the actual arch from
the host system. This allows to always build a native build by default,
irregardless if you start the script on an intel or arm mac.

You can still overwrite the value using -a command line, in order to
start a cross compilation.

macosx: Cleanup list of frameworks and includes

Framework umbrella headers are now included where they are used.
Explicit includes where added where the code relied on implicit
includes.

Reorder list of framework the macosx module needs, and clean it up:
Removed:
- CoreServices (not used)
- CoreMedia (not used, replaced by CoreAudio and CoreVideo)
- SystemConfiguration (was used in 3.0.x for title bar, not used anymore)

Merge request reports

Loading