mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Add MakeMakefile["C"]
This commit is contained in:
parent
189c8077aa
commit
76c20b06aa
1 changed files with 10 additions and 1 deletions
11
lib/mkmf.rb
11
lib/mkmf.rb
|
@ -2944,7 +2944,13 @@ realclean: distclean
|
|||
@lang[name] = mod
|
||||
end
|
||||
|
||||
self["C++"] = Module.new do
|
||||
##
|
||||
# The language that this module is for
|
||||
LANGUAGE = -"C"
|
||||
|
||||
self[self::LANGUAGE] = self
|
||||
|
||||
cxx = Module.new do
|
||||
# Module for C++
|
||||
|
||||
include MakeMakefile
|
||||
|
@ -2984,6 +2990,9 @@ realclean: distclean
|
|||
|
||||
# :startdoc:
|
||||
end
|
||||
|
||||
cxx::LANGUAGE = -"C++"
|
||||
self[cxx::LANGUAGE] = cxx
|
||||
end
|
||||
|
||||
# MakeMakefile::Global = #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue