diff options
Diffstat (limited to 'src/libvpx.mk')
-rw-r--r-- | src/libvpx.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libvpx.mk b/src/libvpx.mk index 6dcc830..4e0c9ef 100644 --- a/src/libvpx.mk +++ b/src/libvpx.mk @@ -20,10 +20,14 @@ define $(PKG)_BUILD CROSS='$(TARGET)-' \ ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ - --target=x86-win32-gcc \ + --target=libvpx-target \ --disable-examples \ --disable-install-docs $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install $(TARGET)-ranlib $(PREFIX)/$(TARGET)/lib/libvpx.a endef + +$(PKG)_BUILD_i686-pc-mingw32 = $(subst libvpx-target ,x86-win32-gcc ,$($(PKG)_BUILD)) +$(PKG)_BUILD_i686-w64-mingw32 = $(subst libvpx-target ,x86-win32-gcc ,$($(PKG)_BUILD)) +$(PKG)_BUILD_x86_64-w64-mingw32 = $(subst libvpx-target ,x86_64-win64-gcc ,$($(PKG)_BUILD)) |