Skip to content

Commit 6a2e8b9

Browse files
committed
Fix pkgconf detection on Windows
1 parent 83ecd34 commit 6a2e8b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hatch_meson/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _pkgconf_binary_for_native_file() -> T.Optional[str]:
104104
return None
105105

106106
for file in dist.files or ():
107-
if file.name == "pkgconf-pypi":
107+
if file.name in ("pkgconf-pypi", "pkgconf-pypi.exe"):
108108
return os.fspath(dist.locate_file(file))
109109

110110
return None

0 commit comments

Comments
 (0)