You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The V8 project has a build option v8_monolithic. In this case the build will produce a single libv8_monolith.a file that contains the libs. This really simplifies things, as we can link to it as a simple single library.
It would be useful to have a similar option for abseil. So that we can choose to build a single library, that allows us to just do -labsl without worrying about the particular flags, and have the linker figure out which symbols it needs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Statically linking abseil is often difficult, because we need to link 20 or 30 libs, which change from version to version in abseil.
For example to link a grpc client I currently need this:
The V8 project has a build option
v8_monolithic
. In this case the build will produce a singlelibv8_monolith.a
file that contains the libs. This really simplifies things, as we can link to it as a simple single library.It would be useful to have a similar option for abseil. So that we can choose to build a single library, that allows us to just do
-labsl
without worrying about the particular flags, and have the linker figure out which symbols it needs.Beta Was this translation helpful? Give feedback.
All reactions