summaryrefslogtreecommitdiffstats
path: root/src/libvpx.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-23 14:38:06 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-06-01 12:28:04 (GMT)
commit5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f (patch)
tree113eb3aa721a36ddcefb656d9bd56506bf99c98c /src/libvpx.mk
parentb974ef08d8b4fc555259eb49c9e34ef69c411948 (diff)
downloadmxe-5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f.zip
mxe-5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f.tar.gz
mxe-5390e5203e5cbcf5ec736ddaba3dc58b5e2c2c6f.tar.bz2
various packages: enable/disable mingw-w64 builds
Diffstat (limited to 'src/libvpx.mk')
-rw-r--r--src/libvpx.mk6
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))