Skip to content

Conversation

@graebm
Copy link
Contributor

@graebm graebm commented Apr 21, 2023

Issue:
"Remove linker hack (#462)" caused internal Amazon devs to start having issues building Lambda applications.

Investigation:
In Amazon's internal build system, dependencies are built as both static and shared libs. "Remove linker hack (#462)" resulted in a switch from using static libs, to using the shared libs.

Lambda applications need all their runtime dependencies explicitly packaged up. The switch to use shared libs meant devs needed to add a lot more runtime dependencies.

Description of changes:
Put back code that forces dependencies to be linked statically, to keep things simple and minimize runtime dependencies.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@graebm graebm merged commit 11eb2a4 into main Apr 21, 2023
@graebm graebm deleted the fix-lambdas-from-brazil branch April 21, 2023 21:00
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.

3 participants