diff options
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 b2ae7e501b..a6f77e043c 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1080,7 +1080,7 @@ site-install-rb: install-rb rule = /^[$\w][^#]*:/ =~ line unless cont cont = /(?:^|[^\\])(?:\\\\)*\\$/ =~ line if rule - line.gsub!(%r"(?<=\s)(?!\.)(?=[^\s\/]+\.(?:#{(SRC_EXT + ['h']).join('|')})(?\s|\z))"o, '{.;$(VPATH)}') + line.gsub!(%r"(?<=\s)(?!\.)(?=[^\s\/]+\.(?:#{(SRC_EXT + ['h']).join('|')})(?:\s|\z))"o, '{.;$(VPATH)}') else line.sub!(/^(\.\w+)(\.\w+)(?=\s*:)/, '{.;$(VPATH)}\1{}\2') end |