diff --git a/Makefile b/Makefile index cb54ab8a6..ad65f3264 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,11 @@ LIBDIR = $(DESTDIR)$(PREFIX)/lib UNAME_M := $(shell uname -m) ifeq ($(UNAME_M), x86_64) ifeq (,$(wildcard $(LIBDIR))) +ifneq ($(UNAME_S), Darwin) LIBDIR = $(DESTDIR)$(PREFIX)/lib64 endif endif +endif LIBDATADIR = $(LIBDIR) UNAME_S := $(shell uname -s)