summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-19 10:04:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-19 10:04:40 +0000
commit15bf3182c65bcd84fe1f4815c767730839f39082 (patch)
treeea4979196aec86256fe867ece22beb510ceb7fae /ext/extmk.rb
parente990086711a397a30245e90ecd6d941b7ae14d8d (diff)
static-linked-ext: all linked ruby
* ext/extmk.rb (command_output): ENCOBJS is needed for all linked ruby, if --disable-shared and --with-static-linked-ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35720 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 7777f9b..81faca8 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -666,7 +666,7 @@ if $configure_only and $command_output
mf.print %[DLDOBJS="$(EXTOBJS)" SOLIBS="$(ENCOBJS) $(EXTLIBS)" ]
mf.print 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS) '
else
- mf.print %[EXTOBJS="$(EXTOBJS)" EXTLIBS="$(EXTLIBS)" ]
+ mf.print %[EXTOBJS="$(EXTOBJS) $(ENCOBJS)" EXTLIBS="$(EXTLIBS)" ]
end
mf.puts 'EXTLDFLAGS="$(EXTLDFLAGS)" $@'
end