Remove redundant dependency calls
- In the current state, the build system has too many
dependency calls, because of which meson tries to find
the same dependendency mutiple times & prints a trace
on the console.This would have been an ideal solution
when all the subdirectories are subprojects in meson but
in the current context it is not.
- Even though meson uses the cached dependency objects
rather than fetching them every time, it might not
give any added advantage on the performance front.
- But checking for the same dependency mutiple times gives
a false impression to the users & this can be avoided by
re-using the dependency objects across subdirectories.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Ic428b2ab1897e4dc4a0024164c07fd416c927da1
diff --git a/libpldmresponder/meson.build b/libpldmresponder/meson.build
index f14ecb7..50ca692 100644
--- a/libpldmresponder/meson.build
+++ b/libpldmresponder/meson.build
@@ -1,7 +1,7 @@
deps = [
- dependency('phosphor-dbus-interfaces'),
- dependency('sdbusplus'),
- dependency('sdeventplus'),
+ phosphor_dbus_interfaces,
+ sdbusplus,
+ sdeventplus,
libpldm,
libpldmutils
]