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

ruby-changes:39348

From: nobu <ko1@a...>
Date: Wed, 29 Jul 2015 16:53:35 +0900 (JST)
Subject: [ruby-changes:39348] nobu:r51429 (trunk): fiddle: $LOCAL_LIBS needs to be expanded

nobu	2015-07-29 16:53:12 +0900 (Wed, 29 Jul 2015)

  New Revision: 51429

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

  Log:
    fiddle: $LOCAL_LIBS needs to be expanded
    
    * ext/fiddle/extconf.rb: revert part of r51401 and expand
      $LOCAL_LIBS as it will be extracted and copied to exts.mk.

  Modified files:
    trunk/ext/fiddle/extconf.rb
Index: ext/fiddle/extconf.rb
===================================================================
--- ext/fiddle/extconf.rb	(revision 51428)
+++ ext/fiddle/extconf.rb	(revision 51429)
@@ -140,7 +140,7 @@ types.each do |type, signed| https://github.com/ruby/ruby/blob/trunk/ext/fiddle/extconf.rb#L140
 end
 
 if libffi
-  $LOCAL_LIBS.prepend("./$(LIBFFI_A) ").strip!
+  $LOCAL_LIBS.prepend("./#{libffi.a} ").strip! # to exts.mk
   $INCFLAGS.gsub!(/-I#{libffi.dir}/, '-I$(LIBFFI_DIR)')
 end
 create_makefile 'fiddle' do |conf|

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

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