Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Fix py2app "New Mach-O header is too large" error
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jul 8, 2023
1 parent 55de09a commit ac0a851
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ function pre_build {

ORIGINAL_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -O3 -DNDEBUG"
if [[ -n "$IS_MACOS" ]]; then
CFLAGS="$CFLAGS -Wl,-headerpad_max_install_names"
fi
build_libwebp
CFLAGS=$ORIGINAL_CFLAGS

Expand Down

0 comments on commit ac0a851

Please sign in to comment.