1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Match the output without encoding for localized compilers

This commit is contained in:
Nobuyoshi Nakada 2020-06-23 14:51:28 +09:00
parent 9ce2066209
commit e9adc2f420
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -6,7 +6,7 @@ $(TARGET_SO) $(STATIC_LIB): $(FAILURES:.cpp=.failed)
$(Q)$(RUBY) -rfileutils \
-e "t = ARGV.shift" \
-e "err = IO.popen(ARGV, err:[:child, :out], &:read)" \
-e "abort err unless /rb_define_method/ =~ err" \
-e "abort err unless /rb_define_method/ =~ err.b" \
-e "File.write(t, err)" $@ $(MAKE) $(*F).o
# AUTOGENERATED DEPENDENCIES START