Skip to content

Prevent ld from optimizing away linked library#149

Merged
pnoltes merged 2 commits intoapache:developfrom
Oipo:bug/unresolvable_bundle_is_resolved
Feb 9, 2020
Merged

Prevent ld from optimizing away linked library#149
pnoltes merged 2 commits intoapache:developfrom
Oipo:bug/unresolvable_bundle_is_resolved

Conversation

@Oipo
Copy link
Contributor

@Oipo Oipo commented Feb 9, 2020

ld by default uses --as-needed, which means that programs that do not use any symbol from a library, do not get linked to that library.

@pnoltes pnoltes merged commit 1505b39 into apache:develop Feb 9, 2020
@Oipo Oipo deleted the bug/unresolvable_bundle_is_resolved branch April 14, 2020 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants