Avoid linking binary with unused libraries #1495
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Projects
Jira Link: DB-1441
there are lots of dependencies for each binary in CMakeFile. Here is a list of dependencies for
yb-tserver
without
--as-needed
flag all of these shared library will be linked to binary even in case they are not used.This can be checked by
but in case '--as-needed' is specified resulting binary will not contain unused dependencies (this will speedup loading process)
The text was updated successfully, but these errors were encountered: