diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2007-09-19 14:19:32 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2007-09-19 14:19:32 +0000 |
commit | 6a859d67c18ba5fdfdd263f4f9a8f323d6d56393 (patch) | |
tree | d16c2a581d14f58454343cba348a28c1c2699a4c /gnu | |
parent | 1a2952820df014b7171789649af186ab868d1df2 (diff) | |
download | src-6a859d67c18ba5fdfdd263f4f9a8f323d6d56393.tar.gz src-6a859d67c18ba5fdfdd263f4f9a8f323d6d56393.zip |
Reduce diff to vendor for maintance purposes.
Approved by: re(ken)
Notes
Notes:
svn path=/head/; revision=172243
Diffstat (limited to 'gnu')
-rwxr-xr-x | gnu/usr.bin/binutils/ld/genscripts.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/ld/genscripts.sh b/gnu/usr.bin/binutils/ld/genscripts.sh index 12d6bb5c04c3..20d1022a46fd 100755 --- a/gnu/usr.bin/binutils/ld/genscripts.sh +++ b/gnu/usr.bin/binutils/ld/genscripts.sh @@ -54,11 +54,12 @@ else fi # Set some flags for the emultempl scripts. USE_LIBPATH will -# be set for any libpath-using emulation. -if [ "x${host}" = "x${target}" ] ; then - NATIVE=yes -fi -USE_LIBPATH=yes +# be set for any libpath-using emulation; NATIVE will be set for a +# emulation to enable 'LD_LIBRARY_PATH=/foo:/bar ld -lfooz' + if [ "x${host}" = "x${target}" ] ; then + NATIVE=yes + fi + USE_LIBPATH=yes # Set the library search path, for libraries named by -lfoo. # If LIB_PATH is defined (e.g., by Makefile) and non-empty, it is used. |