Feature #3993

small change of ext/fiddle/extconf.rb for Windows

Added by usa (Usaku NAKAMURA) over 1 year ago. Updated about 1 year ago.

[ruby-core:32930]
Status:Closed Start date:10/28/2010
Priority:Normal Due date:
Assignee:tenderlovemaking (Aaron Patterson) % Done:

100%

Category:ext
Target version:2.0.0

Description

It seems that libffi VC++ port outputs libffi.lib instead of ffi.lib.
Aaron, could you apply this patch?

Index: ext/fiddle/extconf.rb
===================================================================
--- ext/fiddle/extconf.rb	(リビジョン 29618)
+++ ext/fiddle/extconf.rb	(作業コピー)
@@ -13,7 +13,7 @@
   end
 end

-unless have_library('ffi')
+unless have_library('ffi') || have_library('libffi')
   abort "libffi is missing. Please install libffi."
 end

Associated revisions

Revision 29691
Added by tenderlovemaking (Aaron Patterson) over 1 year ago

* ext/fiddle/extconf.rb: fixing ffi library location on windows. Thanks Usa! [ruby-core:32930]

History

Updated by Anonymous over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
This issue was solved with changeset r29691.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

Also available in: Atom PDF