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>
diff --git a/libipmid/meson.build b/libipmid/meson.build
index 0d6360c..e573ed4 100644
--- a/libipmid/meson.build
+++ b/libipmid/meson.build
@@ -13,7 +13,8 @@
   dependencies: [nlohmann_json_dep, sdbusplus_dep],
   implicit_include_directories: false)
 
-entity_map_json_dep = declare_dependency(link_with: entity_map_json_lib)
+entity_map_json_dep = declare_dependency(
+  link_whole: entity_map_json_lib)
 
 libipmid = library(
   'ipmid',