Issue #3 new

macholib.dyld framework search seems dodgy

Ronald Oussoren
repo owner created an issue

When looking for a framework (e.g. Python.framework/Versions/Current/Python) the seerach functions in machlib.dyld not only look in the framework locations (as expected), but also along the library search path using the basename of the library in the framework.

That is, the search for Python.framework will also check /usr/local/lib/Python.

This seems dodgy and needs to be verified using the real linker (and ripped out if the behaviour is different than that linker).

BTW. I'm testing for the current behaviour in the unittests I'm currently writing, that doesn't mean the current behaviour is correct. Writing tests for existing code is so much fun...

Comments (0)

  1. Log in to comment