rtorrent: missing LDFLAG
authorJohn Crispin <blogic@openwrt.org>
Thu, 17 Jul 2014 16:50:58 +0000 (17:50 +0100)
committerJohn Crispin <blogic@openwrt.org>
Thu, 17 Jul 2014 16:50:58 +0000 (17:50 +0100)
libtorrent requires zlib to be linked

Signed-off-by: John Crispin <blogic@openwrt.org>
net/rtorrent/Makefile

index 933b869b9b5bc95144434bf2abba5aebbd020de7..629e189dffd5dc389d5d942676ae3a27b2398ed5 100644 (file)
@@ -64,7 +64,7 @@ $(call Package/rtorrent/Default/description)
  This package is built with xmlrpc support
 endef
 
-TARGET_LDFLAGS += -lpthread -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+TARGET_LDFLAGS += -lz -lpthread -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
 
 CONFIGURE_ARGS+= \
        --enable-shared \