diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-01-06 15:54:19 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-01-08 10:04:43 -0800 |
| commit | e4ea17bf1d1443269b1fc37f87afd54b30abb8e3 (patch) | |
| tree | 6a3a8f2b831b6f78d79822af348cd2bd056740c8 /mesonbuild/templates/cpptemplates.py | |
| parent | d1422509fc00450928e7a8c40b4fbacc05464f68 (diff) | |
| download | meson-e4ea17bf1d1443269b1fc37f87afd54b30abb8e3.tar.gz | |
templates: Use modern pkgconfig generator API
Diffstat (limited to 'mesonbuild/templates/cpptemplates.py')
| -rw-r--r-- | mesonbuild/templates/cpptemplates.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mesonbuild/templates/cpptemplates.py b/mesonbuild/templates/cpptemplates.py index bb09bcb09..bf95f9a58 100644 --- a/mesonbuild/templates/cpptemplates.py +++ b/mesonbuild/templates/cpptemplates.py @@ -149,12 +149,9 @@ install_headers('{header_file}', subdir : '{header_dir}') pkg_mod = import('pkgconfig') pkg_mod.generate( - name : '{project_name}', - filebase : '{ltoken}', + shlib, description : 'Meson sample project.', subdirs : '{header_dir}', - libraries : shlib, - version : '{version}', ) ''' |
