mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove leading spaces from LIBPATHFLAG
and RPATHFLAG
Join with a space in `MakeMakefile#libpathflag` instead.
This commit is contained in:
parent
9138b388ee
commit
1f6d2e77d9
Notes:
git
2024-09-29 14:40:10 +00:00
4 changed files with 8 additions and 7 deletions
|
@ -662,9 +662,9 @@ RUBY_WERROR_FLAG([
|
|||
[enable_rpath=$enableval], [enable_rpath="$rb_cv_binary_elf"])
|
||||
|
||||
AS_IF([test "$enable_rpath:${RPATHFLAG}" = yes:], [
|
||||
RPATHFLAG="${rpathflag:+ ${rpathflag}%1\$-s}"
|
||||
RPATHFLAG="${rpathflag:+${rpathflag}%1\$-s}"
|
||||
])
|
||||
AS_CASE([${RPATHFLAG}],[*'%1$'*],[: ${LIBPATHFLAG=' -L%1$-s'}],[: ${LIBPATHFLAG=' -L%s'}])
|
||||
AS_CASE([${RPATHFLAG}],[*'%1$'*],[: ${LIBPATHFLAG='-L%1$-s'}],[: ${LIBPATHFLAG='-L%s'}])
|
||||
}
|
||||
|
||||
RUBY_TRY_LDFLAGS(-fdeclspec, [fdeclspec=yes], [fdeclspec=no])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue