diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-08 17:38:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-03-08 17:38:37 +0900 |
commit | 2b7409a2f2aaab1368c57e1cd03c12b2b8972fa9 (patch) | |
tree | 1d3d2d2c5c91cd732fc093f0245acf6d67bf718c /lib/mkmf.rb | |
parent | 53efe6328057ccb604a81541080aab3b3e1268d7 (diff) | |
download | ruby-2b7409a2f2aaab1368c57e1cd03c12b2b8972fa9.tar.gz |
Specify explicit separator not to be affected by $;
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index eabccd48eb..f23f34c312 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -2222,7 +2222,7 @@ RULES message "creating Makefile\n" MakeMakefile.rm_f "#{CONFTEST}*" if CONFIG["DLEXT"] == $OBJEXT - for lib in libs = $libs.split + for lib in libs = $libs.split(' ') lib.sub!(/-l(.*)/, %%"lib\\1.#{$LIBEXT}"%) end $defs.push(format("-DEXTLIB='%s'", libs.join(","))) |