Commit 1755ce4f authored by Samuel E. Giddins's avatar Samuel E. Giddins

[PodTarget] Ensure the list of dependent targets is copied when scoping

parent 39ba796a
...@@ -54,6 +54,7 @@ module Pod ...@@ -54,6 +54,7 @@ module Pod
@build_headers = Sandbox::HeadersStore.new(sandbox, 'Private') @build_headers = Sandbox::HeadersStore.new(sandbox, 'Private')
@file_accessors = [] @file_accessors = []
@resource_bundle_targets = [] @resource_bundle_targets = []
@dependent_targets = []
end end
# @return [Array<PodTarget>] a scoped copy for each target definition. # @return [Array<PodTarget>] a scoped copy for each target definition.
...@@ -65,6 +66,7 @@ module Pod ...@@ -65,6 +66,7 @@ module Pod
target.user_build_configurations = user_build_configurations target.user_build_configurations = user_build_configurations
target.native_target = native_target target.native_target = native_target
target.archs = archs target.archs = archs
target.dependent_targets = dependent_targets.map(&:scoped)
end end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment