* [Buildroot] [PATCH] dropwatch: adjust LDFLAGS
@ 2013-11-27 12:06 Gustavo Zacarias
2013-11-27 17:06 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2013-11-27 12:06 UTC (permalink / raw)
To: buildroot
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>
---
package/dropwatch/dropwatch.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/dropwatch/dropwatch.mk b/package/dropwatch/dropwatch.mk
index 6bbcb23..082b331 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
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] dropwatch: adjust LDFLAGS
2013-11-27 12:06 [Buildroot] [PATCH] dropwatch: adjust LDFLAGS Gustavo Zacarias
@ 2013-11-27 17:06 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-11-27 17:06 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
> 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>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-27 17:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 12:06 [Buildroot] [PATCH] dropwatch: adjust LDFLAGS Gustavo Zacarias
2013-11-27 17:06 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.