1 From 1f62dd91314b0ce6378aeafb2a03566002036326 Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Thu, 11 Dec 2014 23:36:55 +0100
4 Subject: [PATCH 3/3] iprutils: Fix static build by passing the libraries in
7 This mistake was causing failures like this one:
9 m_post.c:(.text+0x60): undefined reference to `wattr_on'
11 http://autobuild.buildroot.net/results/500/5004e7b230635e0605acdd17d2b7d2d01fc5075c/build-end.log
13 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
14 [Romain: rebase on top of 2.4.5]
15 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/Makefile b/Makefile
21 index 66c4942..18cea94 100644
24 @@ -16,7 +16,7 @@ TAR = cd .. && tar -zcpf iprutils-$(UTILS_VER)-src.tgz --exclude .git --exclude
25 all: iprconfig iprupdate iprdump iprinit iprdbg docs
27 iprconfig: iprconfig.c iprlib.o iprconfig.h
28 - $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprconfig iprconfig.c iprlib.o $(LDFLAGS) -lform -lpanel -lncurses -lmenu -lm
29 + $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprconfig iprconfig.c iprlib.o $(LDFLAGS) -lform -lpanel -lmenu -lncurses -lm
31 iprupdate: iprupdate.c iprlib.o
32 $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprupdate iprlib.o iprupdate.c $(LDFLAGS)