mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
mkmf.rb: libpath_env
* lib/mkmf.rb (MakeMakefile#libpath_env): ignore empty LIBPATHENV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bb2551b41c
commit
d71177feab
1 changed files with 2 additions and 1 deletions
|
@ -351,7 +351,8 @@ module MakeMakefile
|
|||
end
|
||||
|
||||
def libpath_env
|
||||
if libpathenv = CONFIG["LIBPATHENV"]
|
||||
# used only if native compiling
|
||||
if libpathenv = config_string("LIBPATHENV")
|
||||
pathenv = ENV[libpathenv]
|
||||
libpath = RbConfig.expand($DEFLIBPATH.join(File::PATH_SEPARATOR))
|
||||
{libpathenv => [libpath, pathenv].compact.join(File::PATH_SEPARATOR)}
|
||||
|
|
Loading…
Add table
Reference in a new issue