diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index e243dce556..797388f591 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1059,6 +1059,9 @@ topdir = #{($extmk ? CONFIG["topdir"] : $topdir).quote} hdrdir = #{$extmk ? CONFIG["hdrdir"].quote : '$(topdir)'} VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])} } + if $extmk + mk << "RUBYLIB = -\nRUBYOPT = -rpurelib.rb\n" + end if destdir = CONFIG["prefix"][$dest_prefix_pattern, 1] mk << "\nDESTDIR = #{destdir}\n" end |