The same conditions on use of DYLD_LIBRARY_PATH apply to OS versions
11 to 14, so make the test general.
gcc/testsuite/ChangeLog:
* lib/target-libpath.exp: Skip DYLD_LIBRARY_PATH for all
current OS versions > 10.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
}
if { [istarget *-*-darwin*] } {
if { [info exists ENABLE_DARWIN_AT_RPATH] || [istarget *-*-darwin1\[5-9\]*]
- || [istarget *-*-darwin20*] } {
+ || [istarget *-*-darwin2*] } {
# Either we are not using DYLD_LIBRARY_PATH or we're on a version of the
# OS for which it is not passed through system exes.
if [info exists env(DYLD_LIBRARY_PATH)] {