Under macOS it's illegal, and I believe the Linux distros use the basic /usr path for their package managers, and you should rather send source-built programs to /usr/local. Under macOS I'm getting this error when running sudo make install as directed in the readme:
CMake Error at source/cmake_install.cmake:41 (file):
file INSTALL cannot copy file
"/Users/ioan/dezvoltare/cross/ZMusic/build/source/libzmusic.1.1.8.dylib" to
"/usr/lib/libzmusic.1.1.8.dylib": Operation not permitted.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
Under macOS it's illegal, and I believe the Linux distros use the basic /usr path for their package managers, and you should rather send source-built programs to /usr/local. Under macOS I'm getting this error when running
sudo make install
as directed in the readme: