summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-12-13 12:07:44 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-01-28 10:23:32 -0800
commit7c625f80d8f381b254a120689499ddd13dcdd02d (patch)
tree2b3d090a5bd07df09387d1dfc86843f44306c9c0
parent88d8a3a425dc6af66ca01374d901376502bb9f55 (diff)
downloadmeson-7c625f80d8f381b254a120689499ddd13dcdd02d.tar.gz
dependencies/dub: Fix arguments passed as strings that should be bools
-rw-r--r--mesonbuild/dependencies/dub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/dub.py b/mesonbuild/dependencies/dub.py
index 1c904ab2a..009e4f46f 100644
--- a/mesonbuild/dependencies/dub.py
+++ b/mesonbuild/dependencies/dub.py
@@ -328,7 +328,7 @@ class DubDependency(ExternalDependency):
for lib in bs['libs']:
if os.name != 'nt':
# trying to add system libraries by pkg-config
- pkgdep = PkgConfigDependency(lib, environment, {'required': 'true', 'silent': 'true'})
+ pkgdep = PkgConfigDependency(lib, environment, {'required': True, 'silent': True})
if pkgdep.is_found:
for arg in pkgdep.get_compile_args():
self.compile_args.append(arg)