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

Commit

Permalink
Merge pull request #394 from radarhere/py2app_libwebp
Browse files Browse the repository at this point in the history
Fix py2app "New Mach-O header is too large" error
  • Loading branch information
mergify[bot] authored Jul 8, 2023
2 parents 55de09a + ac0a851 commit 535b437
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 535b437

Please sign in to comment.