mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
52fcf03d13
commit
8b182a7f7d
1 changed files with 2 additions and 2 deletions
|
@ -4122,8 +4122,8 @@ AS_CASE(["$target_os"],
|
|||
],
|
||||
[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" ], [
|
||||
|
|
Loading…
Add table
Reference in a new issue