modules/pkgconfig: fix typo in blocked variable

require_private -> requires_private.
pull/10718/head
Dylan Baker 3 years ago committed by Eli Schwartz
parent 48222c45b2
commit 6e75456a75
  1. 2
      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')

Loading…
Cancel
Save