diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-14 15:55:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-14 15:55:14 +0000 |
commit | 8b182a7f7d798ab6539518fbfcb51c78549f9733 (patch) | |
tree | 1298d6cc5b470c0a3ad7d0e80adcc3b6dadde672 /configure.ac | |
parent | 52fcf03d13c4adafe3c4a3df4a47c827a91c9f11 (diff) | |
download | ruby-8b182a7f7d798ab6539518fbfcb51c78549f9733.tar.gz |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 842ae3fb56..000ef80fad 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ], [ |