-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
We need to inspect all LibraryProducts within a build, look at their dependencies, then do a breadth-first walk of those LibraryProducts when dlopen()'ing them in the __init__() method of JLL packages. This is important because on platforms such as Windows, where we don't have RPATHs, we may accidentally attempt to open a library that needs something else in its same directory, and it can't find it. :/
Alternative solutions are to push that directory onto the PATH or cd() to the lib directory before dlopen()ing
(unsatisfiactory as some libraries may not be in that same directory) or to embed XML manifests into the .dll's as a part of the BB audit process (Still not sure how to do this properly).