[packages] sshfs: link libintl if CONFIG_BUILD_NLS is active
[packages.git] / 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