[Olsr-dev] [PATCH v1 1/5] linux: use /usr/lib64 on 64bit machines

Ferry Huberts (spam-protected)
Thu May 10 16:09:57 CEST 2012


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 make/Makefile.linux |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/make/Makefile.linux b/make/Makefile.linux
index e73be7c..a37110d 100644
--- a/make/Makefile.linux
+++ b/make/Makefile.linux
@@ -4,7 +4,11 @@
 
 ARCH := $(shell uname -m)
 DESTDIR ?=
+ifeq ($(strip $(ARCH)),x86_64)
+LIBDIR =	$(DESTDIR)/usr/lib64
+else
 LIBDIR =	$(DESTDIR)/usr/lib
+endif
 
 SRCS += 	$(wildcard src/linux/*.c src/unix/*.c)
 HDRS +=		$(wildcard src/linux/*.h src/unix/*.h)
-- 
1.7.7.6





More information about the Olsr-dev mailing list