[vlc-devel] [PATCH 1/4] contribs: fixed libvpx target for linux. Yes it's ugly.

Dominique Martinet asmadeus at codewreck.org
Fri Apr 15 19:23:28 CEST 2011


---
 extras/contrib/src/contrib-src.mak |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index c7e50b3..cfde3dc 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -882,6 +882,14 @@ CROSS=$(HOST)-
 endif
 
 VPX_TARGET-$(ENABLED)              = FIXME
+ifdef HAVE_LINUX
+ifeq ($(ARCH),x86_64)
+VPX_TARGET-1                       = x86_64-linux-gcc
+endif
+ifeq ($(ARCH),i386)
+VPX_TARGET-1                       = x86-linux-gcc
+endif
+endif
 VPX_TARGET-$(HAVE_WIN32)           = x86-win32-gcc
 VPX_TARGET-$(HAVE_DARWIN_OS)       = ppc32-darwin9-gcc
 VPX_TARGET-$(HAVE_MACOSX_ON_INTEL) = x86-darwin9-gcc
-- 
1.7.3.2




More information about the vlc-devel mailing list