Sha256: 4f56b6ba440834ff8c2ccefcbe8b4dece31adf10e91c76ae6d06442641738dc1

Contents?: true

Size: 514 Bytes

Versions: 21

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++

class Gem::Ext::ConfigureBuilder < Gem::Ext::Builder

  def self.build(extension, dest_path, results, args=[], lib_dir=nil)
    unless File.exist?('Makefile')
      cmd = "sh ./configure --prefix=#{dest_path}"
      cmd << " #{args.join ' '}" unless args.empty?

      run cmd, results
    end

    make dest_path, results

    results
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rubygems-update-3.1.6 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.5 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.9 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.2.0.rc.1 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.4 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.3 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.8 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.7 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.2 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.1 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.0 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.0.pre3 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.0.pre2 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.1.0.pre1 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.6 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.5 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.4 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.3 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.2 lib/rubygems/ext/configure_builder.rb
rubygems-update-3.0.1 lib/rubygems/ext/configure_builder.rb