summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index 3f8ed9f39f..4c3265ad5a 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -28,6 +28,8 @@ File.foreach "config.status" do |$_|
if /^s%@program_transform_name@%s,(.*)%g$/
ptn = $1.sub(/\$\$/, '$').split(/,/) #'
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
+ elsif /^s%@DLDFLAGS@%(.*)%g$/
+ v_fast << " CONFIG[\"DLDFLAGS\"] = \"" + $1 + "\"\n"
elsif /^s%@(\w+)@%(.*)%g/
name = $1
val = $2 || ""