FFI_CHECKLIB_PACKAGE
On macOS platforms with Homebrew <http://brew.sh> and/or MacPorts <https://www.macports.org> installed, their corresponding lib paths will be automatically appended to $system_path. In case of having both managers installed, Homebrew will appear before.
This behaviour can be overridden using the environment variable "FFI_CHECKLIB_PACKAGE".
Allowed values are:
- "none": Won't use either Homebrew's path nor MacPorts - "homebrew": Will append "$(brew --prefix)/lib" to the system paths - "macports": Will append "port"'s default lib path
A comma separated list is also valid:
export FFI_CHECKLIB_PACKAGE=macports,homebrew
Order matters. So in this example, MacPorts' lib path appears before Homebrew's path.