fix: fixed binaries building action

This commit is contained in:
Simone Margaritelli 2024-08-16 16:36:21 +02:00
parent f6192653ef
commit 13cab7b637

View file

@ -70,9 +70,14 @@ jobs:
7z x -y "C:\wpcap-sdk.zip" -o"C:\winpcap"
copy builder\libusb.pc C:\pkg-config\libusb.pc
copy builder\libusb.pc C:\pkg-config\libusb-1.0.pc
echo "PKG_CONFIG_PATH=C:\pkg-config\" >> $GITHUB_ENV
- name: Build on Windows
if: ${{ matrix.os == 'windows-latest' }}
run: |
env PKG_CONFIG_PATH=C:\pkg-config\ make -e TARGET="${{ env.OUTPUT }}"
- name: Build
if: ${{ matrix.os != 'windows-latest' }}
run: |
make -e TARGET="${{ env.OUTPUT }}"