diff mbox series

[ndctl,v2] ndctl,daxctl,util/build: Reconcile 'iniparser' dependency

Message ID 20220316034250.2792732-1-vaibhav@linux.ibm.com (mailing list archive)
State Accepted
Commit dd61f6a11a5c8bf896f2bda89438e7b67d88825c
Headers show
Series [ndctl,v2] ndctl,daxctl,util/build: Reconcile 'iniparser' dependency | expand

Commit Message

Vaibhav Jain March 16, 2022, 3:42 a.m. UTC
This trivial patch updates 'meson.build' files for daxctl, ndctl to remove
explicit dependency on 'iniparser'. Instead util/meson.build is updated to add a
dependency to 'iniparser' which than gets trickled to daxctl, ndctl via 'util_dep'
dependency.

Signed-off-by: Vaibhav Jain <vaibhav@linux.ibm.com>
---
Changelog:

v2..v1:
- Spell fix in patch description [ Vishal ]
---
 daxctl/meson.build | 1 -
 ndctl/meson.build  | 1 -
 util/meson.build   | 1 +
 3 files changed, 1 insertion(+), 2 deletions(-)


base-commit: dd58d43458943d20ff063850670bf54a5242c9c5
diff mbox series

Patch

diff --git a/daxctl/meson.build b/daxctl/meson.build
index ec2e2b648d40..8474d02f2c0d 100644
--- a/daxctl/meson.build
+++ b/daxctl/meson.build
@@ -15,7 +15,6 @@  daxctl_tool = executable('daxctl',
   dependencies : [
     daxctl_dep,
     ndctl_dep,
-    iniparser,
     util_dep,
     uuid,
     kmod,
diff --git a/ndctl/meson.build b/ndctl/meson.build
index 6a3d0e5348c2..c7889af36084 100644
--- a/ndctl/meson.build
+++ b/ndctl/meson.build
@@ -27,7 +27,6 @@  deps = [
   uuid,
   kmod,
   json,
-  iniparser,
   versiondep,
 ]
 
diff --git a/util/meson.build b/util/meson.build
index 784b27915649..695037a924b9 100644
--- a/util/meson.build
+++ b/util/meson.build
@@ -11,6 +11,7 @@  util = static_library('util', [
   'abspath.c',
   'iomem.c',
   ],
+  dependencies: iniparser,
   include_directories : root_inc,
 )
 util_dep = declare_dependency(link_with : util)