Makefile: no lib64 for OSX

This commit is contained in:
Nguyen Anh Quynh 2014-03-29 05:48:12 -07:00
parent e20b2ae38d
commit dbe27845ad

View File

@ -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)