mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
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
5f136916ee
commit
a0b65c7be0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172241
@ -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