Follow-up Comment #4, bug #50260 (project wget): The error happened with wget-1.19 vanilla tarball.
The -R option was probably from m4/lib-link.m4 (search for "-R$found_dir" in that file) and according from the comment there, it was intended for libtool. That macro in m4/lib-link.m4 was imported by the AM_ICONV macro in configure.ac Below is the related snippet in the generated src/Makefile after configure run LTLIBICONV='-L/home/yousong/.usr/lib -liconv -R/home/yousong/.usr/lib' Note that I have those wget dependency libs including libiconv-1.14 in a non-standard location ~/.usr/ This should be reproducible with the following steps - clone the build-scripts git repo - remove the do_patch func in build-wget.sh - remove the PKG_AUTOCONF_FIXUP=1 in build-wget.sh - "make wget/install/test" will build do the download, compile, install is test_dir/ without polluting system-level settings. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50260> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/