Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
8640aaf2
Commit
8640aaf2
authored
Jun 11, 2015
by
Mike Moscardini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix building of static libs that depend on libs
This addresses #2747 and #2704.
parent
d4dc2702
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
CHANGELOG.md
CHANGELOG.md
+7
-2
aggregate_xcconfig.rb
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
+0
-1
aggregate_xcconfig_spec.rb
spec/unit/generator/xcconfig/aggregate_xcconfig_spec.rb
+0
-3
No files found.
CHANGELOG.md
View file @
8640aaf2
...
...
@@ -55,8 +55,13 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Vincent Isambart
](
https://github.com/vincentisambart
)
[
#3161
](
https://github.com/CocoaPods/CocoaPods/issues/3161
)
## 0.37.2
*
Fixes an issue that prevented static libraries from building.
`OTHER_LIBTOOLFLAGS`
is no longer set to the value of
`OTHER_LDFLAGS`
. If you want to create a static
library that includes all dependencies for (internal/external) distribution then
you should use a tool like
`cocoapods-packager`
.
[
Michael Moscardini
](
https://github.com/themackworth
)
[
#2747
](
https://github.com/CocoaPods/CocoaPods/issues/2747
)
[
#2704
](
https://github.com/CocoaPods/CocoaPods/issues/2704
)
##### Enhancements
...
...
lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb
View file @
8640aaf2
...
...
@@ -52,7 +52,6 @@ module Pod
pod_targets
=
target
.
pod_targets_for_build_configuration
(
@configuration_name
)
config
=
{
'OTHER_LDFLAGS'
=>
'$(inherited) '
+
XCConfigHelper
.
default_ld_flags
(
target
),
'OTHER_LIBTOOLFLAGS'
=>
'$(OTHER_LDFLAGS)'
,
'PODS_ROOT'
=>
target
.
relative_pods_root
,
'GCC_PREPROCESSOR_DEFINITIONS'
=>
'$(inherited) COCOAPODS=1'
,
}
...
...
spec/unit/generator/xcconfig/aggregate_xcconfig_spec.rb
View file @
8640aaf2
...
...
@@ -62,9 +62,6 @@ module Pod
@xcconfig
.
to_hash
[
'GCC_PREPROCESSOR_DEFINITIONS'
].
should
.
include
'$(inherited)'
end
it
'should configure OTHER_LIBTOOLFLAGS flags to include OTHER_LDFLAGS'
do
@xcconfig
.
to_hash
[
'OTHER_LIBTOOLFLAGS'
].
should
==
'$(OTHER_LDFLAGS)'
end
end
#-----------------------------------------------------------------------#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment