diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-06-30 15:04:28 -0400 |
---|---|---|
committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-07-05 16:58:55 -0400 |
commit | 9614a61379d39c654693ac40758ba80129eea4d0 (patch) | |
tree | d30bc3cd553db099330e0d792fd095b09fcc95cf /tool/sync_default_gems.rb | |
parent | bfb933371d80f5a4ba23f2e978050e33c74de80e (diff) |
Fixed build scripts for YARP
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8007
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-x | tool/sync_default_gems.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index eec7825d68..17b3ed5177 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -419,6 +419,8 @@ module SyncDefaultGems cp_r("#{upstream}/include/yarp/.", "yarp") cp_r("#{upstream}/include/yarp.h", "yarp") + rm("yarp/config.h") + File.write("yarp/config.h", "#include \"ruby/config.h\"\n") rm("yarp/extconf.rb") mv("yarp_init.c", "yarp/") |