Sha256: bfae2a0ac58d46db8e0dc85bfad50fe5933dc1e1a24a38609ae65512c65f0851

Contents?: true

Size: 622 Bytes

Versions: 5

Compression:

Stored size: 622 Bytes

Contents

# frozen_string_literal: false
require 'mkmf'

checking_for(checking_message("Windows")) do
  case RUBY_PLATFORM
  when /cygwin|mingw/
    if ARGV.include?('-rdevkit') # check `rake -rdevkit compile` case
      base_dir = File.expand_path('../../../..', __FILE__)
      build_dir = File.join(base_dir, "tmp", RUBY_PLATFORM, "bigdecimal", RUBY_VERSION, "")
    else
      build_dir = "$(TARGET_SO_DIR)../"
    end
    $libs << " #{build_dir}bigdecimal.so"
    true
  when /mswin/
    $DLDFLAGS << " -libpath:.."
    $libs << " bigdecimal-$(arch).lib"
    true
  else
    false
  end
end

create_makefile('bigdecimal/util')

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
bigdecimal-fix-1.4.4 ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.3 ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.3.pre.20190110 ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.2 ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.2.pre.20181216a ext/bigdecimal/util/extconf.rb