From e759974c9b0532fd65472507fb57b75f14e7baf8 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 19 Oct 2014 21:45:45 +0000
Subject: [PATCH] mountd: explicitly link libubox (needed by libuci)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42972
---
 package/system/mountd/patches/060-link_libubox.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 package/system/mountd/patches/060-link_libubox.patch

diff --git a/package/system/mountd/patches/060-link_libubox.patch b/package/system/mountd/patches/060-link_libubox.patch
new file mode 100644
index 0000000000..39acc1c568
--- /dev/null
+++ b/package/system/mountd/patches/060-link_libubox.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@ PROG=mountd
+ OBJS=main.o lib/log.o lib/sys.o lib/autofs.o lib/mount.o lib/timer.o lib/signal.o lib/ucix.o lib/led.o lib/fs.o lib/ucix.o
+ 
+ LDFLAGS?=
+-LDFLAGS+=-ldl -luci
++LDFLAGS+=-ldl -luci -lubox
+ 
+ CFLAGS?=
+ CFLAGS+= -Wall
-- 
2.30.2