summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/util/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bigdecimal/util/extconf.rb')
-rw-r--r--ext/bigdecimal/util/extconf.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/bigdecimal/util/extconf.rb b/ext/bigdecimal/util/extconf.rb
deleted file mode 100644
index b0d56358f8..0000000000
--- a/ext/bigdecimal/util/extconf.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# 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')