Commit 3550b28a authored by Marius Rackwitz's avatar Marius Rackwitz

Ensure that ld and libtool options are not overriden for frameworks

parent b44c0e10
......@@ -51,13 +51,15 @@ module Pod
configuration = @native_target.add_build_configuration(bc_name, type)
end
settings = { 'OTHER_LDFLAGS' => '', 'OTHER_LIBTOOLFLAGS' => '' }
settings = {}
if target.archs
settings['ARCHS'] = target.archs
end
if target.requires_framework?
settings['PRODUCT_NAME'] = target.product_module_name
else
settings.merge!('OTHER_LDFLAGS' => '', 'OTHER_LIBTOOLFLAGS' => '')
end
@native_target.build_configurations.each do |configuration|
......
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