Skip to content

Conversation

@freakboy3742
Copy link
Contributor

Fixes #9079.

Changes proposed in this pull request:

  • Turns on another CMake flag (-DENABLE_SHARED=NO) to prevent libjpeg-turbo from producing dynamic libraries on iOS
  • Adds a safety catch that purges any dylibs that are produced by the dependency build, so they can't be picked up by clang at link time.

I've manually audited all the binary modules that are produced as a result of this build, and I don't see any other dynamic artefacts being linked.

@radarhere radarhere changed the title Ensure dynamic libjpeg libraries are not linked. Ensure dynamic libjpeg libraries are not linked Jul 10, 2025
@hugovk hugovk merged commit d74fdc4 into python-pillow:main Jul 10, 2025
22 checks passed
@hugovk
Copy link
Member

hugovk commented Jul 10, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants