We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660a75b commit 8c3a393Copy full SHA for 8c3a393
Makefile
@@ -14,6 +14,10 @@ ifeq ($(UNAME_S),Linux)
14
POST_INSTALL := ldconfig
15
else ifeq ($(UNAME_S),Darwin)
16
DESTDIR ?=
17
+ # on macOS, there's not really a default location, so require DESTDIR
18
+ ifeq ($(DESTDIR),)
19
+ $(error On macOS, DESTDIR must be set for installation. Common locations include /usr/local or /opt/homebrew)
20
+ endif
21
LIB_EXTENSION := dylib
22
STATIC_LIB_EXTENSION := a
23
INSTALL_LIB_DIR := /lib
0 commit comments