mountd: explicitly link libubox (needed by libuci)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 19 Oct 2014 21:45:45 +0000 (21:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 19 Oct 2014 21:45:45 +0000 (21:45 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42972

package/system/mountd/patches/060-link_libubox.patch [new file with mode: 0644]

diff --git a/package/system/mountd/patches/060-link_libubox.patch b/package/system/mountd/patches/060-link_libubox.patch
new file mode 100644 (file)
index 0000000..39acc1c
--- /dev/null
@@ -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