set explicit -lpthread
authorJohn Crispin <john@openwrt.org>
Sat, 16 Jun 2012 14:52:33 +0000 (14:52 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 16 Jun 2012 14:52:33 +0000 (14:52 +0000)
SVN-Revision: 32388

package/ltq-tapidemo/Makefile

index 14c93ef7dde368da646d19784071fbbaf83e70d7..0fbcce0c596b212f886eba91d8dcae33698ae7d2 100644 (file)
@@ -26,7 +26,7 @@ define Package/ltq-tapidemo
   CATEGORY:=Network
   TITLE:=TAPIdemo application for Lantiq boards
   URL:=http://www.lantiq.com/
-  DEPENDS:=+kmod-ltq-tapi +kmod-ltq-vmmc
+  DEPENDS:=+kmod-ltq-tapi +kmod-ltq-vmmc +libpthread
   MAINTAINER:=John Crispin <blogic@openwrt.org>
   MENU:=1
 endef
@@ -39,6 +39,8 @@ define Package/ltq-tapidemo/config
        source "$(SOURCE)/Config.in"
 endef
 
+TARGET_LDFLAGS+=-lpthread
+
 CONFIGURE_ARGS += \
        ARCH=$(LINUX_KARCH) \
        --enable-linux-26 \