We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MakeMakefile["C"]
1 parent 189c807 commit 76c20b0Copy full SHA for 76c20b0
lib/mkmf.rb
@@ -2944,7 +2944,13 @@ def self.[]=(name, mod)
2944
@lang[name] = mod
2945
end
2946
2947
- self["C++"] = Module.new do
+ ##
2948
+ # The language that this module is for
2949
+ LANGUAGE = -"C"
2950
+
2951
+ self[self::LANGUAGE] = self
2952
2953
+ cxx = Module.new do
2954
# Module for C++
2955
2956
include MakeMakefile
@@ -2984,6 +2990,9 @@ def link_command(ldflags, *opts)
2984
2990
2985
2991
# :startdoc:
2986
2992
2993
2994
+ cxx::LANGUAGE = -"C++"
2995
+ self[cxx::LANGUAGE] = cxx
2987
2996
2988
2997
2989
2998
# MakeMakefile::Global = #
0 commit comments