diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-09-29 23:07:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-09-29 23:07:16 +0900 |
commit | 1f6d2e77d9be9a5a829e60908d21d621f4e1ceb0 (patch) | |
tree | 09590f4981bcb0336a89cfa1060988d53f073ae9 /template | |
parent | 9138b388eea48e6f1c005a9a3071aed72799f0cc (diff) |
Remove leading spaces from `LIBPATHFLAG` and `RPATHFLAG`
Join with a space in `MakeMakefile#libpathflag` instead.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11724
Diffstat (limited to 'template')
-rw-r--r-- | template/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in index 7e0a02b909..4cc0865ddc 100644 --- a/template/Makefile.in +++ b/template/Makefile.in @@ -360,7 +360,7 @@ install-cross: $(arch)-fake.rb $(RBCONFIG) rbconfig.rb $(arch_hdrdir)/ruby/confi $(Q) sed '/^\$$:\.unshift/q' $(arch)-fake.rb > fake.rb $(Q) $(BASERUBY) -p \ -e '~/^\s*CONFIG\["LDFLAGS"\]/ and' \ - -e '$$_[/(?=\s*"$$)/] = %q[ #{(CONFIG["LIBPATHFLAG"]%File.dirname(__FILE__)).strip}]' \ + -e '$$_[/(?=\s*"$$)/] = %q[ #{CONFIG["LIBPATHFLAG"]%File.dirname(__FILE__)}]' \ rbconfig.rb > fake-rbconfig.rb $(INSTALL_SCRIPT) fake.rb $(XRUBY_RUBYLIBDIR)/$(arch)/fake.rb $(INSTALL_SCRIPT) fake-rbconfig.rb $(XRUBY_RUBYLIBDIR)/$(arch)/rbconfig.rb |