[Buildroot] [PATCH] ti-utils: link with pthread to avoid build failure

Yuvaraj Patil yuvaraj.patil at wipro.com
Tue Oct 7 15:24:08 UTC 2014


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

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

Signed-off-by: Yuvaraj Patil <yuvaraj.patil at wipro.com>
---
 package/ti-utils/ti-utils.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ti-utils/ti-utils.mk b/package/ti-utils/ti-utils.mk
index c0a3663..7ee7afa 100644
--- a/package/ti-utils/ti-utils.mk
+++ b/package/ti-utils/ti-utils.mk
@@ -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
-- 
1.7.9.5



More information about the buildroot mailing list