Sha256: 404af8f34bbf4b350680ffe13b851ad91bff4e83af1a4555ebaa108eb374affc

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

require 'rbconfig'

# Get `mkmf` to fall back to `ruby -run` 
%w[
  RM
  RMALL
  RMDIRS
  MAKEDIRS
  INSTALL
  INSTALL_PROG
  INSTALL_DATA
  CP
].each do|key|
  RbConfig::CONFIG.delete key
  RbConfig::MAKEFILE_CONFIG.delete key
end

require File.join RbConfig::CONFIG['rubylibdir'], 'mkmf'

module MakeMakefile
  # Prevent translating to MSYS `/C/some/path/` for `mingw32-make`
  def mkintpath(path) = path
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mingw-make-1.1.0-x64-mingw-ucrt lib/mingw-make/mkmf.rb
mingw-make-1.0.0-x64-mingw-ucrt lib/mingw-make/mkmf.rb