summaryrefslogtreecommitdiff
path: root/mesonbuild/templates/objcpptemplates.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-01-06 15:54:19 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-01-08 10:04:43 -0800
commite4ea17bf1d1443269b1fc37f87afd54b30abb8e3 (patch)
tree6a3a8f2b831b6f78d79822af348cd2bd056740c8 /mesonbuild/templates/objcpptemplates.py
parentd1422509fc00450928e7a8c40b4fbacc05464f68 (diff)
downloadmeson-e4ea17bf1d1443269b1fc37f87afd54b30abb8e3.tar.gz
templates: Use modern pkgconfig generator API
Diffstat (limited to 'mesonbuild/templates/objcpptemplates.py')
-rw-r--r--mesonbuild/templates/objcpptemplates.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/mesonbuild/templates/objcpptemplates.py b/mesonbuild/templates/objcpptemplates.py
index be6c1fde0..7ea4c3f8e 100644
--- a/mesonbuild/templates/objcpptemplates.py
+++ b/mesonbuild/templates/objcpptemplates.py
@@ -98,12 +98,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}',
)
'''