summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index c5a929d..71614c8 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -649,7 +649,7 @@ $(DLLIB): $(OBJS)
else
line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if /nmake/i =~ $make
end
- mfile.printf "%s", line.gsub('\$\(hdrdir\)/config.h', '$(topdir)/config.h')
+ mfile.printf "%s", line.gsub(/\$\(hdrdir\)\/config.h/, '$(topdir)/config.h')
end
dfile.close
end