set pkg config sysroot directory
This commit is contained in:
parent
b5914691d7
commit
3d2f61c134
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -32,13 +32,14 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt update && sudo apt upgrade
|
sudo apt update
|
||||||
sudo apt install -y libx11-dev libxtst-dev libudev-dev libinput-dev musl musl-tools
|
sudo apt install -y libx11-dev libxtst-dev libudev-dev libinput-dev musl musl-tools
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --target ${{ matrix.target }}
|
run: cargo build --release --target ${{ matrix.target }}
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: -C target-feature=+crt-static
|
RUSTFLAGS: -C target-feature=+crt-static
|
||||||
|
PKG_CONFIG_SYSROOT_DIR: /
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue