From 70ec05dad3294ba1ac5a5af0c5acf0708ab6af2f Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 8 Apr 2014 23:48:30 +0800 Subject: [PATCH] Makefile: fix lib64 setup for x64 non-OSX (including Linux) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index de701c2a..23dfa132 100644 --- a/Makefile +++ b/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