attach patch base on "Last Changed Rev: 25033",

this patch fixed below error:

/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld:
 warning: libintl.so.8, needed by 
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so,
 not found (try using -rpath or -rpath-link)
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so:
 undefined reference to `libintl_gettext'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so:
 undefined reference to `libintl_bind_textdomain_codeset'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so:
 undefined reference to `libintl_dgettext'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so:
 undefined reference to `libintl_textdomain'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so:
 undefined reference to `libintl_bindtextdomain'
/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libglib-2.0.so:
 undefined reference to `libintl_dngettext'
collect2: ld returned 1 exit status
make[4]: *** [sshfs] Error 1


-- 
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
Index: net/sshfs/Makefile
===================================================================
--- net/sshfs/Makefile	(revision 25034)
+++ net/sshfs/Makefile	(working copy)
@@ -39,7 +39,7 @@
 		-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 -lintl -lfuse -pthread -lgthread-2.0 \
 		-L$(STAGING_DIR)/usr/lib"
 
 define Build/Compile
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to