Write access to /usr/lib on macOS 10 and up is restricted due to SIP, so the current method in make install of copying the dylib over to /usr/lib doesn't work on macOS.
I changed DESTDIR in CMakeLists.txt to accommodate for this:
More broadly: at least from what I've seen, /usr/local/include and /usr/local/lib seem to be the standard target for make install, not /usr/include-/usr/lib, which are typically used for things that shipped with your unix distro.
This PR also includes minor .gitignore changes, namely cleaning up merge output and ignoring dylibs.
Write access to
/usr/lib
on macOS 10 and up is restricted due to SIP, so the current method inmake install
of copying the dylib over to/usr/lib
doesn't work on macOS.I changed
DESTDIR
in CMakeLists.txt to accommodate for this:More broadly: at least from what I've seen,
/usr/local/include
and/usr/local/lib
seem to be the standard target formake install
, not/usr/include
-/usr/lib
, which are typically used for things that shipped with your unix distro.This PR also includes minor
.gitignore
changes, namely cleaning up merge output and ignoring dylibs.Are there any issues with this request?