diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-25 13:06:15 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-08-18 21:57:36 -0400 |
commit | 6e75456a75ffad4cf847b03afa09ab7b1462fbbb (patch) | |
tree | 041dd5625ef713f17f6b988b485668507457b6a0 | |
parent | 48222c45b2f128ce071f3df152a6c42bc818eb2f (diff) | |
download | meson-6e75456a75ffad4cf847b03afa09ab7b1462fbbb.zip meson-6e75456a75ffad4cf847b03afa09ab7b1462fbbb.tar.gz meson-6e75456a75ffad4cf847b03afa09ab7b1462fbbb.tar.bz2 |
modules/pkgconfig: fix typo in blocked variable
require_private -> requires_private.
-rw-r--r-- | mesonbuild/modules/pkgconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py index 8ccf5a3..62a32eb 100644 --- a/mesonbuild/modules/pkgconfig.py +++ b/mesonbuild/modules/pkgconfig.py @@ -538,7 +538,7 @@ class PkgConfigModule(ExtensionModule): raise mesonlib.MesonException('dataonly must be boolean.') if dataonly: default_subdirs = [] - blocked_vars = ['libraries', 'libraries_private', 'require_private', 'extra_cflags', 'subdirs'] + blocked_vars = ['libraries', 'libraries_private', 'requires_private', 'extra_cflags', 'subdirs'] if any(k in kwargs for k in blocked_vars): raise mesonlib.MesonException(f'Cannot combine dataonly with any of {blocked_vars}') default_install_dir = os.path.join(state.environment.get_datadir(), 'pkgconfig') |