summaryrefslogtreecommitdiffstats
path: root/package/dropwatch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-11-27 09:06:19 -0300
committerPeter Korsgaard <peter@korsgaard.com>2013-11-27 17:47:43 +0100
commit7ea26acd3d22a1614c2d3233746d792ccaee96f0 (patch)
tree92dac6c153910eba930cd84309cc209000e5ca2e /package/dropwatch
parent2d9ee197c24b3d28cb24a443ed7f645a01b2777f (diff)
dropwatch: adjust LDFLAGS
Add more library links into LDFLAGS. -lncurses because readline uses it (missing _tputs and others). -lpthread for missing _pthread_rwlock_unlock and others. -lm for missing _rint. Fixes: http://autobuild.buildroot.net/results/6b1/6b1f4f2167d8aca0d73dc0e66fd2e1704c821c61/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/dropwatch')
-rw-r--r--package/dropwatch/dropwatch.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/dropwatch/dropwatch.mk b/package/dropwatch/dropwatch.mk
index 6bbcb234c..082b33144 100644
--- a/package/dropwatch/dropwatch.mk
+++ b/package/dropwatch/dropwatch.mk
@@ -16,7 +16,8 @@ DROPWATCH_LICENSE_FILES = COPYING
#
# Also: always need to add -liberty to hardcoded LDFLAGS for avr32
DROPWATCH_LDFLAGS = \
- $(TARGET_LDFLAGS) -lbfd -liberty -lreadline -lnl-3 -lnl-genl-3
+ $(TARGET_LDFLAGS) -lbfd -liberty -lreadline -lnl-3 -lnl-genl-3 \
+ -lpthread -lncurses -lm
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
DROPWATCH_LDFLAGS += -lintl