Added lib64 patch
authorAndreas Tonnesen <andreto@olsr.org>
Wed, 15 Feb 2006 06:34:45 +0000 (06:34 +0000)
committerAndreas Tonnesen <andreto@olsr.org>
Wed, 15 Feb 2006 06:34:45 +0000 (06:34 +0000)
make/Makefile.linux

index 31d8f06..a8fa582 100644 (file)
@@ -3,7 +3,11 @@
 #
 
 INSTALL_PREFIX ?=
+ifeq ($(shell arch),x86_64)
+LIBDIR =       $(INSTALL_PREFIX)/usr/lib64
+else
 LIBDIR =       $(INSTALL_PREFIX)/usr/lib
+endif
 
 SRCS +=        $(wildcard src/linux/*.c) $(wildcard src/unix/*.c)
 HDRS +=                $(wildcard src/linux/*.h) $(wildcard src/unix/*.h)