[前][次][番号順一覧][スレッド一覧]

ruby-changes:27522

From: nobu <ko1@a...>
Date: Sun, 3 Mar 2013 13:15:12 +0900 (JST)
Subject: [ruby-changes:27522] nobu:r39574 (trunk): mkmf.rb: libpath_env

nobu	2013-03-03 13:15:02 +0900 (Sun, 03 Mar 2013)

  New Revision: 39574

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39574

  Log:
    mkmf.rb: libpath_env
    
    * lib/mkmf.rb (MakeMakefile#libpath_env): ignore empty LIBPATHENV.

  Modified files:
    trunk/lib/mkmf.rb

Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 39573)
+++ lib/mkmf.rb	(revision 39574)
@@ -351,7 +351,8 @@ module MakeMakefile https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L351
   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)}

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]