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

ruby-changes:44832

From: knu <ko1@a...>
Date: Sun, 27 Nov 2016 19:08:04 +0900 (JST)
Subject: [ruby-changes:44832] knu:r56905 (trunk): Reverse compatibility_version and current_version for Darwin

knu	2016-11-27 19:08:00 +0900 (Sun, 27 Nov 2016)

  New Revision: 56905

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

  Log:
    Reverse compatibility_version and current_version for Darwin
    
    The `compatibility_version` should have an API version and the
    `current_version` should have a program version of Ruby, but they have
    been reversed and the binary compatibility has never worked.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 56904)
+++ configure.in	(revision 56905)
@@ -3899,8 +3899,8 @@ AS_CASE("$enable_shared", [yes], [ https://github.com/ruby/ruby/blob/trunk/configure.in#L3899
 	    LIBRUBY_RELATIVE=yes
 	fi
 	LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-install_name '${libprefix}'/$(LIBRUBY_SO)'
-	LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-current_version $(MAJOR).$(MINOR)'
-	LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-compatibility_version $(RUBY_PROGRAM_VERSION)'
+	LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-compatibility_version $(MAJOR).$(MINOR)'
+	LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-current_version $(RUBY_PROGRAM_VERSION)'
 	if test "$visibility_option" = ld; then
 	    LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-Wl,-unexported_symbol,_Init_*'
 	    LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-Wl,-unexported_symbol,_ruby_static_id_*'

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

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