Issue #19967 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED to 3.0: REQUIRED, 3.1:
REQUIRED, 3.2: DONE
ruby_3_2 3960d894d98d20540e646a0d6c2186a2d676b96c merged revision(s)
665b4c5b2a31078d7db0173ad60daad0b463c1fd,642875e474b4e6a13770b1dbbc33d466ba5e0718,54b9b80b84760717aadb8bf67f638785ed895a58,361bce8d2c4c90a01eb3b7365a87dec0d93bb2b6.
----------------------------------------
Bug #19967: Already installed libruby.dylib is used for test on macOS
https://bugs.ruby-lang.org/issues/19967#change-106964
* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Assignee: nobu (Nobuyoshi Nakada)
* Backport: 3.0: REQUIRED, 3.1: REQUIRED, 3.2: DONE
----------------------------------------
On macOS, in the case of `--enable-shared` and `--disable-load-relative`, already install
libruby.dylib is used during tests if exists.
This is because since [Bug #14992], `DYLD_FALLBACK_LIBRARY_PATH` is used instead of
`DYLD_LIBRARY_PATH`.
The latter environment variable is used preferentially, whereas the former is used as a
fallback, as the name implies.
--
https://bugs.ruby-lang.org/