Skip to content

Commit

Permalink
dependencies/dub: Fix arguments passed as strings that should be bools
Browse files Browse the repository at this point in the history
  • Loading branch information
dcbaker committed Dec 20, 2024
1 parent a7de9ad commit 7a8492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/dependencies/dub.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def find_package_target(pkg: DubPackDesc) -> bool:
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)
Expand Down

0 comments on commit 7a8492e

Please sign in to comment.