diff --git a/script/get-generic-sys-util/_cm.json b/script/get-generic-sys-util/_cm.json index 85a5b84503..9c7e7d559c 100644 --- a/script/get-generic-sys-util/_cm.json +++ b/script/get-generic-sys-util/_cm.json @@ -11,6 +11,14 @@ "deps": [ { "tags": "detect,os" + }, + { + "tags": "get,generic-sys-util,_package.pkg-config", + "skip_if_env": { + "CM_SYS_UTIL_NAME": [ + "pkg-config" + ] + } } ], "new_env_keys": [ @@ -548,6 +556,19 @@ } } }, + "pkg-config": { + "env": { + "CM_SYS_UTIL_NAME": "pkg_config" + }, + "state": { + "pkg_config": { + "apt": "pkg-config", + "brew": "pkg-config", + "dnf": "pkg-config", + "yum": "pkg-config" + } + } + }, "psmisc": { "env": { "CM_SYS_UTIL_NAME": "psmisc"