Makefile: fix lib64 setup for x64 non-OSX (including Linux)

v2
Nguyen Anh Quynh 11 years ago
parent ad6cc985d7
commit 70ec05dad3
  1. 4
      Makefile

@ -38,8 +38,8 @@ LIBDIR = $(DESTDIR)$(PREFIX)/lib
ifeq ($(UNAME_M), x86_64)
# ignore Mac OSX
ifneq ($(UNAME_S), Darwin)
ifeq (,$(wildcard $(LIBDIR)64))
LIBDIR = $(LIBDIR)64
ifneq (,$(wildcard $(DESTDIR)$(PREFIX)/lib64))
LIBDIR = $(DESTDIR)$(PREFIX)/lib64
endif
endif
endif

Loading…
Cancel
Save