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 20ebfd77f0b8fea54dfb5865dec24dc412976d76..43dd8e17f94e9db07a8b0a0e0a2ebe42930565a3 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