summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-09-29 23:07:16 +0900
committerNobuyoshi Nakada <[email protected]>2024-09-29 23:07:16 +0900
commit1f6d2e77d9be9a5a829e60908d21d621f4e1ceb0 ()
tree09590f4981bcb0336a89cfa1060988d53f073ae9 /template
parent9138b388eea48e6f1c005a9a3071aed72799f0cc (diff)
Remove leading spaces from `LIBPATHFLAG` and `RPATHFLAG`
Join with a space in `MakeMakefile#libpathflag` instead.
Notes: Merged: https://.com/ruby/ruby/pull/11724
-rw-r--r--template/Makefile.in2
1 files changed, 1 insertions, 1 deletions
@@ -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}]' \
rbconfig.rb > fake-rbconfig.rb
$(INSTALL_SCRIPT) fake.rb $(XRUBY_RUBYLIBDIR)/$(arch)/fake.rb
$(INSTALL_SCRIPT) fake-rbconfig.rb $(XRUBY_RUBYLIBDIR)/$(arch)/rbconfig.rb