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

ruby-changes:48068

From: nobu <ko1@a...>
Date: Sun, 15 Oct 2017 00:55:18 +0900 (JST)
Subject: [ruby-changes:48068] nobu:r60182 (trunk): configure.ac: link Foundation framework

nobu	2017-10-15 00:55:14 +0900 (Sun, 15 Oct 2017)

  New Revision: 60182

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

  Log:
    configure.ac: link Foundation framework
    
    * configure.ac (XLDFLAGS): link against Foundation framework and
      let __NSPlaceholderDictionary initialize, to get rid of crash
      after fork on macOS High Sierra.  [ruby-core:83239] [Bug #14009]

  Modified files:
    trunk/configure.ac
Index: configure.ac
===================================================================
--- configure.ac	(revision 60181)
+++ configure.ac	(revision 60182)
@@ -4122,8 +4122,8 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L4122
 	],
     [darwin*], [
 	RUBY_APPEND_OPTION(CFLAGS, -pipe)
-	RUBY_APPEND_OPTION(XLDFLAGS, [-framework CoreFoundation])
-	RUBY_APPEND_OPTION(LIBRUBYARG_STATIC, [-framework CoreFoundation])
+	RUBY_APPEND_OPTION(XLDFLAGS, [-framework Foundation])
+	RUBY_APPEND_OPTION(LIBRUBYARG_STATIC, [-framework Foundation])
 	],
     [osf*], [
 	AS_IF([test "$GCC" != "yes" ], [

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

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