With MacFUSE i.e. OSXFuse 4.0, the location of the loadable library
has changed to /usr/local/lib/libfuse.2.dylib instead of
/usr/local/lib/libosxfuse.2.dylib. The older path is still present
for backwards compatibility for the time being.
This patch looks in the newer location first, then in the older
location if that fails.
With MacFUSE i.e. OSXFuse 4.0, the location of the loadable library has changed to
/usr/local/lib/libfuse.2.dylib
instead of/usr/local/lib/libosxfuse.2.dylib
. The older path is still present for backwards compatibility for the time being.This patch looks in the newer location first, then in the older location if that fails.
Release Notes: https://github.com/osxfuse/osxfuse/releases/tag/macfuse-4.0.0
Fixes #52