Skip to content

Commit 806cdf6

Browse files
committed
Add CFLAGS, LDFlAGS and PKG_CONFIG for building lxml
1 parent 6e1baf2 commit 806cdf6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/linuxbrew.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
run: |
4646
python3 -m venv test_venv
4747
source test_venv/bin/activate
48+
export CFLAGS="-I$(brew --prefix)/include"
49+
export LDFLAGS="-L$(brew --prefix)/lib"
50+
export PKG_CONFIG_PATH="$(brew --prefix)/opt/libxml2/lib/pkgconfig"
4851
pip3 install --upgrade --no-binary=lxml -r requirements-test.txt
4952
pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
5053
pytest -v --color=yes

0 commit comments

Comments
 (0)