diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-08-24 13:15:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-09-05 17:31:46 +0900 |
commit | afa33da72b35fd8e98ebd56eb24b6204c35994ce () | |
tree | 5fd210f2b291b362ef8a315aa078ac347fed97cd /ext/-test-/auto_ext.rb | |
parent | 521aea9a7609d0d3b588d8dc6494d4d77052c2b1 (diff) |
[ruby/fiddle] Create extconf header for MSVC
Not to include parenthesized argument. https://.com/ruby/fiddle/commit/c2c921e16a
Notes: Merged: https://.com/ruby/ruby/pull/4810
-rw-r--r-- | ext/-test-/auto_ext.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,5 +6,6 @@ def auto_ext(feat = $0[%r[/ext/(-test-/.*)/extconf.rb\z], 1], inc: false) inits.delete("init") inits.map! {|s|"X(#{s})"} $defs << "-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\"" create_makefile(feat) end |