Commit e4f48df8 authored by Marius Rackwitz's avatar Marius Rackwitz

[Style] Improved code readability

parent 5edcc46b
...@@ -86,11 +86,12 @@ module Pod ...@@ -86,11 +86,12 @@ module Pod
# Add pod target to list of frameworks / libraries that are # Add pod target to list of frameworks / libraries that are
# linked with the user’s project. # linked with the user’s project.
next unless pod_target.should_build? if pod_target.should_build?
if pod_target.requires_frameworks? if pod_target.requires_frameworks?
@xcconfig.merge!('OTHER_LDFLAGS' => %(-framework "#{pod_target.product_basename}")) @xcconfig.merge!('OTHER_LDFLAGS' => %(-framework "#{pod_target.product_basename}"))
else else
@xcconfig.merge!('OTHER_LDFLAGS' => %(-l "#{pod_target.product_basename}")) @xcconfig.merge!('OTHER_LDFLAGS' => %(-l "#{pod_target.product_basename}"))
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