diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-30 16:17:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-30 16:17:55 +0000 |
commit | 8a22a0530e5095b11a52dfc820cef4016c55e3ff (patch) | |
tree | 09fedee402ff510de2bf36b4986e3802485a8587 /test/mkmf | |
parent | e3230f154c874917f9c4384498558da3fdaba432 (diff) | |
download | ruby-8a22a0530e5095b11a52dfc820cef4016c55e3ff.tar.gz |
mkmf.rb: try without -ObjC option
* lib/mkmf.rb (have_framework): try without -ObjC option first as
MacPorts GCCs do not support it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/mkmf')
-rw-r--r-- | test/mkmf/test_framework.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/mkmf/test_framework.rb b/test/mkmf/test_framework.rb index 3585f959f9..cad6b052d0 100644 --- a/test/mkmf/test_framework.rb +++ b/test/mkmf/test_framework.rb @@ -26,7 +26,9 @@ class TestMkmf def test_multi_frameworks assert(have_framework("CoreFoundation"), mkmflog("try as Objective-C")) - assert(have_framework("Cocoa"), mkmflog("try as Objective-C")) + create_framework("MkmfTest") do |fw| + assert(have_framework(fw), MKMFLOG) + end end def test_empty_framework |