зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
e990086711
Коммит
15bf3182c6
|
@ -1,4 +1,7 @@
|
||||||
Sat May 19 14:57:31 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat May 19 19:04:38 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/extmk.rb (command_output): ENCOBJS is needed for all linked
|
||||||
|
ruby, if --disable-shared and --with-static-linked-ext.
|
||||||
|
|
||||||
* ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no
|
* ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no
|
||||||
static lined extensions.
|
static lined extensions.
|
||||||
|
|
|
@ -666,7 +666,7 @@ if $configure_only and $command_output
|
||||||
mf.print %[DLDOBJS="$(EXTOBJS)" SOLIBS="$(ENCOBJS) $(EXTLIBS)" ]
|
mf.print %[DLDOBJS="$(EXTOBJS)" SOLIBS="$(ENCOBJS) $(EXTLIBS)" ]
|
||||||
mf.print 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS) '
|
mf.print 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS) '
|
||||||
else
|
else
|
||||||
mf.print %[EXTOBJS="$(EXTOBJS)" EXTLIBS="$(EXTLIBS)" ]
|
mf.print %[EXTOBJS="$(EXTOBJS) $(ENCOBJS)" EXTLIBS="$(EXTLIBS)" ]
|
||||||
end
|
end
|
||||||
mf.puts 'EXTLDFLAGS="$(EXTLDFLAGS)" $@'
|
mf.puts 'EXTLDFLAGS="$(EXTLDFLAGS)" $@'
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче