summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-19 05:57:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-19 05:57:32 +0000
commita99bf256ff0384f2bd94a73d9f3f80371f947228 (patch)
tree221cb6e80f9a59a4ee1509f4e6c1adb74200616b /ext/extmk.rb
parent08b15235532a5af9ba9d2f6bebec5b5a41fecfa4 (diff)
static-linked-ext: into libruby
* ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no static lined extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 4345fdd..7777f9b 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -644,7 +644,7 @@ if $configure_only and $command_output
end
mf.macro "extensions", exts
- mf.macro "EXTOBJS", $extlist.empty? ? [] : ["ext/extinit.#{$OBJEXT}", *$extobjs]
+ mf.macro "EXTOBJS", $extlist.empty? ? ["dmyext.#{$OBJEXT}"] : ["ext/extinit.#{$OBJEXT}", *$extobjs]
mf.macro "EXTLIBS", $extlibs
mf.macro "EXTLDFLAGS", $extflags.split
mf.puts