build: fix meson deprecation warning
Seeing the following issue when building sdbusplus as a subproject:
DEPRECATION: Library sdbusplus was passed to the "libraries"
keyword argument of a previous call to generate() method
instead of first positional argument. Adding sdbusplus to
"Requires" field, but this is a deprecated behaviour that will
change in a future version of Meson. Please report the issue
if this warning cannot be avoided in your case.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5efddd8ce8040cdcbd18478e037e24652899f791
diff --git a/meson.build b/meson.build
index 6aee1c4..b116c3c 100644
--- a/meson.build
+++ b/meson.build
@@ -59,7 +59,7 @@
)
import('pkgconfig').generate(
- libraries: libsdbusplus,
+ libsdbusplus,
name: meson.project_name(),
version: meson.project_version(),
requires: libsystemd_pkg,