
Issue #19967 has been updated by saagarjha (Saagar Jha). Hi! Sorry if this is the wrong place to ask (it's my first time here), but does this not break the --enable-load-relative case? Wasn't the commit that this reverts added to make sure mkmf works for those builds? ---------------------------------------- Bug #19967: Already installed libruby.dylib is used for test on macOS https://bugs.ruby-lang.org/issues/19967#change-111648 * 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/