Skip to content

Commit

Permalink
add target to CFG path
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Dec 1, 2024
1 parent 35828e4 commit 9bb0786
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,9 @@ jobs:
if: contains(matrix.TARGET, 'linux')
run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev pkg-config


- name: Set PKG_CONFIG_PATH
if: contains(matrix.TARGET, 'linux')
run: echo "PKG_CONFIG_PATH=/usr/lib/pkgconfig" >> $GITHUB_ENV
run: echo "PKG_CONFIG_PATH=/usr/lib/${{ matrix.TARGET }}/pkgconfig" >> $GITHUB_ENV

# For linux, it's necessary to use cross from the git repository to avoid glibc problems
# Ref: https://github.com/cross-rs/cross/issues/1510
Expand Down

0 comments on commit 9bb0786

Please sign in to comment.