Skip to content

Fix otools arguments too long error when large number of binary files included

Lukas Oberhuber requested to merge fix-otool-arguments-too-long into master

When including python in a bundle, it is easy for the list of binaries to exceed the MAX_ARGS value on the command line. This change reduces the irrelevant arguments which otool can't process anyway making the likelihood much lower of a problem.

Also excludes irrelevant GObject files.

The error is: `OSError: [Errno 7] Argument list too long: 'otool'

Merge request reports