Reuse load_relative
local
This commit is contained in:
parent
c48e5959de
commit
fbadcd277f
Notes:
git
2024-08-23 03:17:25 +00:00
@ -399,7 +399,7 @@ rdoc_noinst = %w[created.rid]
|
||||
prolog_script = <<EOS
|
||||
bindir="#{load_relative ? '${0%/*}' : bindir.gsub(/\"/, '\\\\"')}"
|
||||
EOS
|
||||
if CONFIG["LIBRUBY_RELATIVE"] != 'yes' and libpathenv = CONFIG["LIBPATHENV"]
|
||||
if !load_relative and libpathenv = CONFIG["LIBPATHENV"]
|
||||
pathsep = File::PATH_SEPARATOR
|
||||
prolog_script << <<EOS
|
||||
libdir="#{load_relative ? '$\{bindir%/bin\}/lib' : libdir.gsub(/\"/, '\\\\"')}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user