diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2017-04-27 00:54:50 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2017-04-27 00:54:50 +0900 |
commit | 8e132f504662532d9ed1dafa94a6a4b83e29bc6d (patch) | |
tree | 66b7ba06c9fbc4a3e2e81bf688132d8104b91a93 /lib/rake | |
parent | 2573c0e2cbf8b2369963cb79c64aafd286946e9b (diff) | |
download | rake-compiler-8e132f504662532d9ed1dafa94a6a4b83e29bc6d.tar.gz |
Regard C++ sources as source_files
Diffstat (limited to 'lib/rake')
-rw-r--r-- | lib/rake/extensiontask.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/extensiontask.rb b/lib/rake/extensiontask.rb index 38466e1..38f7319 100644 --- a/lib/rake/extensiontask.rb +++ b/lib/rake/extensiontask.rb @@ -18,7 +18,7 @@ module Rake def init(name = nil, gem_spec = nil) super @config_script = 'extconf.rb' - @source_pattern = "*.c" + @source_pattern = "*.{c,cc,cpp}" @compiled_pattern = "*.{o,obj,so,bundle,dSYM}" @cross_compile = false @cross_config_options = [] |