mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
extmk.rb: no EXTOBJS to main if enable-shared
* ext/extmk.rb: as all extension objects including initializations of ext and enc shouild be linked to libruby if enable-shared, EXTOBJS should not be linked to main programs. [ruby-core:66675] [Bug #10566] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34c3ac0e2d
commit
1e6a101237
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Fri Dec 5 02:27:47 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb: as all extension objects including initializations
|
||||
of ext and enc shouild be linked to libruby if enable-shared,
|
||||
EXTOBJS should not be linked to main programs.
|
||||
[ruby-core:66675] [Bug #10566]
|
||||
|
||||
Thu Dec 4 07:06:02 2014 Eric Wong <e@80x24.org>
|
||||
|
||||
* compile.c (rb_iseq_build_from_exception): entry->sp is unsigned
|
||||
|
|
|
@ -697,6 +697,7 @@ if $configure_only and $command_output
|
|||
submakeopts = []
|
||||
if enable_config("shared", $enable_shared)
|
||||
submakeopts << 'DLDOBJS="$(EXTOBJS) $(ENCOBJS)"'
|
||||
submakeopts << 'EXTOBJS='
|
||||
submakeopts << 'EXTSOLIBS="$(EXTLIBS)"'
|
||||
submakeopts << 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS)'
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue