Permalink
Browse files

Remove the '-all_load' linker flags by default. Issue #234.

  • Loading branch information...
1 parent ab1f905 commit 0b2bd1eee14d2e43efcebf7c12cef67c71197009 @angelolloqui angelolloqui committed Apr 27, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/cocoapods/installer/target_installer.rb
  2. +2 −2 spec/unit/installer_spec.rb
@@ -120,7 +120,7 @@ def quoted(strings)
end
def default_ld_flags
- flags = %w{-ObjC -all_load}
+ flags = %w{-ObjC}
flags << '-fobjc-arc' if @podfile.set_arc_compatibility_flag? && self.requires_arc
flags.join(" ")
end
@@ -26,8 +26,8 @@
@xcconfig['ALWAYS_SEARCH_USER_PATHS'].should == 'YES'
end
- it "configures the project to load categories from the static library" do
- @xcconfig['OTHER_LDFLAGS'].should == '-ObjC -all_load'
+ it "configures the project to load all members that implement Objective-c classes or categories from the static library" do
+ @xcconfig['OTHER_LDFLAGS'].should == '-ObjC'
end
it "sets the PODS_ROOT build variable" do

0 comments on commit 0b2bd1e

Please sign in to comment.