libdlna: fix build failure (closes: #7445)
authorNicolas Thill <nico@openwrt.org>
Thu, 15 Jul 2010 19:33:59 +0000 (19:33 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 15 Jul 2010 19:33:59 +0000 (19:33 +0000)
SVN-Revision: 22210

libs/libdlna/Makefile

index a805dd753bbf450bef2ebced6d9e27e6f878c9ea..1b333d4ddadcbde29a0da907d7b664fe368cbc07 100644 (file)
@@ -39,7 +39,7 @@ define Build/Configure
        # this is *NOT* GNU configure
        ( cd $(PKG_BUILD_DIR); \
                CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
-               LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link=$(STAGING_DIR)/usr/lib" \
+               LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lpthread" \
                HOST_CC="$(HOSTCC)" \
                ./configure \
                --cross-compile \