[前][次][番号順一覧][スレッド一覧]

ruby-changes:36630

From: nobu <ko1@a...>
Date: Fri, 5 Dec 2014 02:28:00 +0900 (JST)
Subject: [ruby-changes:36630] nobu:r48711 (trunk): extmk.rb: no EXTOBJS to main if enable-shared

nobu	2014-12-05 02:27:49 +0900 (Fri, 05 Dec 2014)

  New Revision: 48711

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48711

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/ext/extmk.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48710)
+++ ChangeLog	(revision 48711)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Dec  5 02:27:47 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@8...>
 
 	* compile.c (rb_iseq_build_from_exception): entry->sp is unsigned
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 48710)
+++ ext/extmk.rb	(revision 48711)
@@ -697,6 +697,7 @@ if $configure_only and $command_output https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L697
     submakeopts = []
     if enable_config("shared", $enable_shared)
       submakeopts << 'DLDOBJS="$(EXTOBJS) $(ENCOBJS)"'
+      submakeopts << 'EXTOBJS='
       submakeopts << 'EXTSOLIBS="$(EXTLIBS)"'
       submakeopts << 'LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS)'
     else

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]