diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index c006439e6a..5cb638611e 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -140,7 +140,7 @@ types.each do |type, signed| 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|