Sha256: a154bc7baca89abc9674e545d712a22f079cf9529c3037a6eb07589c51ac1519

Contents?: true

Size: 578 Bytes

Versions: 5

Compression:

Stored size: 578 Bytes

Contents

# frozen_string_literal: false
require 'mkmf'

checking_for(checking_message("Windows")) do
  case RUBY_PLATFORM
  when /cygwin|mingw/
    if defined?($extlist)
      build_dir = "$(TARGET_SO_DIR)../"
    else
      base_dir = File.expand_path('../../../..', __FILE__)
      build_dir = File.join(base_dir, "tmp", RUBY_PLATFORM, "bigdecimal", RUBY_VERSION, "")
    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 & 1 rubygems

Version Path
bigdecimal-1.4.1 ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.0 ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.0.pre.20181220a ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.0.pre.20181214a ext/bigdecimal/util/extconf.rb
bigdecimal-1.4.0.pre.20181205a ext/bigdecimal/util/extconf.rb