[packages] sshfs: link libintl if CONFIG_BUILD_NLS is active
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 17 Jun 2011 20:00:55 +0000 (20:00 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 17 Jun 2011 20:00:55 +0000 (20:00 +0000)
SVN-Revision: 27208

net/sshfs/Makefile

index 20ebfd7..43dd8e1 100644 (file)
@@ -40,7 +40,7 @@ CONFIGURE_VARS += \
                -I$(STAGING_DIR)/usr/lib/glib-2.0/include \
                -I$(STAGING_DIR)/usr/include/fuse" \
        SSHFS_LIBS=" \
-               -lglib-2.0 -liconv -lfuse -pthread -lgthread-2.0 \
+               -lglib-2.0 -liconv $(if $(INTL_FULL),-lintl) -lfuse -pthread -lgthread-2.0 \
                -L$(STAGING_DIR)/usr/lib"
 
 define Build/Compile