test: fix dynamic modules loading on macOS
Since the auxiliary libraries are built as dynamically loaded modules on macOS instead of shared libraries as it is done on Linux and BSD, another environment variable should be used to guide `ffi.load()` while searching the extension. Hence the paths are set in test need to be set to `DYLD_LIBRARY_PATH` variable instead of `LD_LIBRARY_PATH` on macOS.
Please register or sign in to comment