Skip to contentSkip to conversation

dropwatch: adjust LDFLAGS

PATCH New Gustavo Zacarias 2 participants 2 messages Nov 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/dropwatch/dropwatch.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/dropwatch/dropwatch.mk +2 -1
index 6bbcb23..082b331 100644
@@ -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
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 dropwatch: adjust LDFLAGS

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Add more library links into LDFLAGS.

(quoted diff) +0 -3
-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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard