summaryrefslogtreecommitdiff
path: root/test/mkmf
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-30 16:17:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-30 16:17:55 +0000
commit8a22a0530e5095b11a52dfc820cef4016c55e3ff (patch)
tree09fedee402ff510de2bf36b4986e3802485a8587 /test/mkmf
parente3230f154c874917f9c4384498558da3fdaba432 (diff)
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.rb4
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