Skip to content

Commit 67130e7

Browse files
Fix pkg-config
1 parent 2222bd4 commit 67130e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vinca/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,7 @@ def generate_output(pkg_shortname, vinca_conf, distro, version):
323323
]
324324
# pkg-config must be in build, not host
325325
if "pkg-config" in output["requirements"]["host"]:
326-
output["requirements"]["build"] += [
327-
{"sel(build_platform != target_platform)": "pkg-config"}
328-
]
326+
output["requirements"]["build"].append("pkg-config")
329327
while "pkg-config" in output["requirements"]["host"]:
330328
output["requirements"]["host"].remove("pkg-config")
331329

0 commit comments

Comments
 (0)