ti-utils: link with pthread to avoid build failure
authorYuvaraj Patil <yuvaraj.patil@wipro.com>
Tue, 7 Oct 2014 15:24:08 +0000 (20:54 +0530)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 7 Oct 2014 20:21:24 +0000 (22:21 +0200)
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@wipro.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ti-utils/ti-utils.mk

index c0a36638d3731f9d388263fc3f60613833c1488b..7ee7afaad753e15ed71aa5a788b8897b5d664669 100644 (file)
@@ -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