diff options
-rw-r--r-- | ext/bigdecimal/extconf.rb | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -1,12 +1,12 @@ # frozen_string_literal: false require 'mkmf' -case -when File.file?(File.expand_path('../bigdecimal.gemspec', __FILE__)) - gemspec_path = File.expand_path('../bigdecimal.gemspec', __FILE__) -when File.file?(File.expand_path('../../../bigdecimal.gemspec', __FILE__)) - gemspec_path = File.expand_path('../../../bigdecimal.gemspec', __FILE__) -else $stderr.puts "Unable to find bigdecimal.gemspec" abort end @@ -30,4 +30,6 @@ have_func("rb_rational_den", "ruby.h") have_func("rb_array_const_ptr", "ruby.h") have_func("rb_sym2str", "ruby.h") -create_makefile('bigdecimal') |