Skip to contentSkip to conversation

ti-utils: link with pthread to avoid build failure

PATCH New Yuvaraj Patil 2 participants 2 messages Oct 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-utils: link with pthread to avoid build failure

Add '-lpthread' option to LIBS in ti-utils.mk file to link this package with pthread

Fixes:
http://autobuild.buildroot.net/results/132/132072d849a3ec572aa80e51833bf6906a54400a//

---
 package/ti-utils/ti-utils.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ti-utils/ti-utils.mk +1 -1
index c0a3663..7ee7afa 100644
@@ -13,7 +13,7 @@ TI_UTILS_LICENSE_FILES = COPYING
 define TI_UTILS_BUILD_CMDS
 	$(MAKE1) NFSROOT="$(STAGING_DIR)" \
 		CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -I$(STAGING_DIR)/usr/include/libnl3" \
-		LIBS="-lnl-3 -lnl-genl-3 -lm" -C $(@D) all
+		LIBS="-lnl-3 -lnl-genl-3 -lpthread -lm" -C $(@D) all
 endef
 
 define TI_UTILS_INSTALL_TARGET_CMDS
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ti-utils: link with pthread to avoid build failure

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yuvaraj" == Yuvaraj Patil <[email protected]> writes:

Add '-lpthread' option to LIBS in ti-utils.mk file to link this package with pthread

Fixes:
http://autobuild.buildroot.net/results/132/132072d849a3ec572aa80e51833bf6906a54400a//

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard