In the case of a native build, set NATIVE to yes so that the code circuits
that need to be activated specifically for the case of a native linker actually are enabled. Specifically, this makes ld(1) look for shared libraries in LD_LIBRARY_PATH in the native case, as documented in the man page. PR: gnu/96481 Approved by: re (kensmith) MFC after: 2 weeks
This commit is contained in:
parent
b6e961b304
commit
3e11a3177a
@ -55,7 +55,10 @@ fi
|
||||
|
||||
# Set some flags for the emultempl scripts. USE_LIBPATH will
|
||||
# be set for any libpath-using emulation.
|
||||
USE_LIBPATH=yes
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user