mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-13 01:29:00 +08:00
Fix builder when not building for OS X.
This commit is contained in:
@@ -74,7 +74,7 @@ module Motion; module Project;
|
||||
end
|
||||
|
||||
# Prepare embedded and external frameworks BridgeSupport files (OSX-only).
|
||||
if config.is_a?(OSXConfig)
|
||||
if config.respond_to?(:embedded_frameworks) && config.respond_to?(:external_frameworks)
|
||||
embedded_frameworks = config.embedded_frameworks.map { |x| File.expand_path(x) }
|
||||
external_frameworks = config.external_frameworks.map { |x| File.expand_path(x) }
|
||||
(embedded_frameworks + external_frameworks).each do |path|
|
||||
|
||||
Reference in New Issue
Block a user