summaryrefslogtreecommitdiff
path: root/package/olsrd/patches/patch-make_Makefile_linux
diff options
context:
space:
mode:
Diffstat (limited to 'package/olsrd/patches/patch-make_Makefile_linux')
-rw-r--r--package/olsrd/patches/patch-make_Makefile_linux12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/olsrd/patches/patch-make_Makefile_linux b/package/olsrd/patches/patch-make_Makefile_linux
new file mode 100644
index 000000000..5ea807341
--- /dev/null
+++ b/package/olsrd/patches/patch-make_Makefile_linux
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- olsrd-0.5.6-r2.orig/make/Makefile.linux 2008-10-03 14:45:07.000000000 +0200
++++ olsrd-0.5.6-r2/make/Makefile.linux 2008-12-08 03:23:50.000000000 +0100
+@@ -4,7 +4,7 @@
+
+ ARCH := $(shell uname -m)
+ DESTDIR ?=
+-LIBDIR = $(DESTDIR)$(shell if [ "$(ARCH)" = "x86_64" -a -d "/usr/lib64" ]; then echo "/usr/lib64"; else echo "/usr/lib"; fi)
++LIBDIR = $(DESTDIR)/usr/lib
+
+ SRCS += $(wildcard src/linux/*.c src/unix/*.c)
+ HDRS += $(wildcard src/linux/*.h src/unix/*.h)