Fix the `Failed to load shared library 'libglib-2.0.0.dylib' referenced by the typelib` error by adding the common Homebrew's shared library directory (i.e., `$(brew --prefix)/lib`) to the dyld library search path. This ensures that all Homebrew-installed shared libraries are discoverable via `dlopen()`-like loading mechanism. (Previously, only directory with `libhidapi` shared library was explicitly added to search path). Use `DYLD_FALLBACK_LIBRARY_PATH` instead of `DYLD_LIBRARY_PATH` to register the Homebrew library directory as a fallback search path rather than preferred/default one. In general, this should be preferred way of modifying library search path with 3rd-party installations, even though it probably bears no real difference in this particular scenario. |
||
---|---|---|
.. | ||
ISSUE_TEMPLATE | ||
workflows |