commit | f84c8314635b93fa003869876ce71db62438944c | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon May 22 13:54:03 2023 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon May 22 13:54:07 2023 -0700 |
tree | c3b60801449b6ba3bc64316c2f88578497a73e11 | |
parent | 9cf0838ac0c8a0c9a57a4524f10cf1091ff46bb5 [diff] |
Archive not getting added to shared object The archive needs to be added with link_whole so that all the symbols get added to the shared object or gcc will optimize them out. Tested: ran to see that no missing symbols are logged Change-Id: I4f30b8e1d3ad2936ff57ed733e04b1227c6f3c54 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage