build: fix pkgconfig yamldir var for prefix
The pkgconfig variable 'yamldir' was missing the install
prefix (ex. /usr/local), which makes it rather useless for
being consumed. Fix it to add the prefix onto the path to
get the full install path of the YAML.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0c6e599477f4c8ae47e611c7b104870c7af61948
diff --git a/meson.build b/meson.build
index 99d02fc..2bfa8b6 100644
--- a/meson.build
+++ b/meson.build
@@ -118,7 +118,7 @@
name: meson.project_name(),
version: meson.project_version(),
description: 'Generated sdbusplus bindings for phosphor-dbus-interfaces',
- variables: ['yamldir=' + inst_yaml_dir],
+ variables: ['yamldir=' + get_option('prefix') / inst_yaml_dir],
)
phosphor_dbus_interfaces_dep = declare_dependency(