diff options
Diffstat (limited to 'ext/fiddle/extconf.rb')
-rw-r--r-- | ext/fiddle/extconf.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index f5c27cc934..1333bf549d 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -123,8 +123,7 @@ types.each do |type, signed| end if libffi - $LIBPATH.unshift libffi.lib - $LOCAL_LIBS.prepend("#{libffi.a} ").strip! + $LOCAL_LIBS.prepend("./#{libffi.a} ").strip! end create_makefile 'fiddle' do |conf| if !libffi @@ -155,7 +154,6 @@ end if libffi $LIBPATH.pop - $LOCAL_LIBS.prepend("ext/fiddle/") end # :startdoc: |