setup_venv: Add pkg-config to VENV_DEPENDENCIES.

This is needed on at least Debian 10, otherwise xmlsec fails to
install: `Could not find xmlsec1 config. Are libxmlsec1-dev and
pkg-config installed?`

Also remove libxmlsec1-openssl, which libxmlsec1-dev already depends.

(No changes are needed on RHEL, where libxml2-devel and xmlsec1-devel
already declare a requirement on /usr/bin/pkg-config.)

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-10-03 14:42:13 -07:00 committed by Tim Abbott
parent 30ad650afb
commit 8432d97edf
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ VENV_DEPENDENCIES = [
"libmagic1", # Used for install python-magic
# Needed by python-xmlsec:
"libxmlsec1-dev",
"libxmlsec1-openssl",
"pkg-config",
# This is technically a node dependency, but we add it here
# because we don't have another place that we install apt packages