On the GitHub MacOS runners, it looks like the installation of brew includes libraries which get picked up during the wxWidgets build. This creates a dependency for the UCBLogo binary on the brew installed libraries being present at runtime.
This change configures wxWidgets to use its builtin versions for libpng and libjpeg and configures it to build without libtiff entirely. In my first attempt, I configured libtiff as builtin but that triggered another link to a brew library which doesn't appear to have a builtin option :(
It is possible we can just compile all image libraries as without - willing to try that and see if there are any problems.
Testing
Ran UCBLogo and made sure things that might have image dependencies (such as printing) continued to work as expected.
Resolves #158
Summary
On the GitHub MacOS runners, it looks like the installation of
brew
includes libraries which get picked up during thewxWidgets
build. This creates a dependency for the UCBLogo binary on thebrew
installed libraries being present at runtime.This change configures
wxWidgets
to use itsbuiltin
versions forlibpng
andlibjpeg
and configures it to build withoutlibtiff
entirely. In my first attempt, I configuredlibtiff
asbuiltin
but that triggered another link to abrew
library which doesn't appear to have abuiltin
option :(It is possible we can just compile all image libraries as
without
- willing to try that and see if there are any problems.Testing
Ran UCBLogo and made sure things that might have image dependencies (such as printing) continued to work as expected.
Test Environments