Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit a47a652

Browse files
committed
Fix Windows build, the VPX library is no longer "vpxmt"
1 parent 240a254 commit a47a652

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ jobs:
1919
arch: x86_64
2020
- os: windows-latest
2121
arch: AMD64
22+
- os: windows-latest
23+
arch: x86
2224
steps:
2325
- uses: actions/checkout@v2
2426
- uses: actions/setup-python@v1
2527
with:
2628
python-version: 3.8
27-
- name: Install yasm (windows)
28-
if: matrix.os == 'windows-latest'
29-
run: curl -L -o 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\yasm.exe' http://www.tortall.net/projects/yasm/releases/yasm-1.3.0-win64.exe
3029
- name: Build codecs
3130
env:
3231
CIBW_ARCHS: ${{ matrix.arch }}

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
if sys.platform == "win32":
55
include_dirs = ["C:\\cibw\\vendor\\include"]
66
library_dirs = ["C:\\cibw\\vendor\\lib"]
7-
libraries = ["opus", "vpxmt"]
87
else:
98
include_dirs = ["/tmp/vendor/include"]
109
library_dirs = ["/tmp/vendor/lib"]
11-
libraries = ["opus", "vpx"]
1210

1311
setuptools.setup(
1412
name="dummy",
@@ -19,7 +17,7 @@
1917
"dummy.binding",
2018
include_dirs=include_dirs,
2119
library_dirs=library_dirs,
22-
libraries=libraries,
20+
libraries=["opus", "vpx"],
2321
sources=["src/dummy/binding.c"],
2422
),
2523
],

0 commit comments

Comments
 (0)