Skip to content

Commit 1103da4

Browse files
committed
Add CFLAGS and LDFlAGS for building lxml
1 parent 6e1baf2 commit 1103da4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/linuxbrew.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ 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"
4850
pip3 install --upgrade --no-binary=lxml -r requirements-test.txt
4951
pip3 install xmlsec --only-binary=xmlsec --no-index --find-links=dist/
5052
pytest -v --color=yes

0 commit comments

Comments
 (0)