summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 1d495e8205..77ccd94546 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1083,6 +1083,10 @@ def create_makefile(target, srcprefix = nil)
end
end
+ if $extmk and not $extconf_h
+ create_header
+ end
+
libpath = libpathflag(libpath)
dllib = target ? "$(TARGET).#{CONFIG['DLEXT']}" : ""