[vlc-commits] contrib: set cross-prefix for x264 when cross compiling
Rafaël Carré
git at videolan.org
Fri Apr 13 20:50:25 CEST 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Apr 13 14:49:41 2012 -0400| [6718d2d6782eaa4382317c628a7c0ec4cddd1a1f] | committer: Rafaël Carré
contrib: set cross-prefix for x264 when cross compiling
This fixes ARM build
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6718d2d6782eaa4382317c628a7c0ec4cddd1a1f
---
contrib/src/x264/rules.mak | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/contrib/src/x264/rules.mak b/contrib/src/x264/rules.mak
index 4cbeb71..a0bd03e 100644
--- a/contrib/src/x264/rules.mak
+++ b/contrib/src/x264/rules.mak
@@ -26,6 +26,9 @@ X264CONF += --enable-pic
else
X264CONF += --enable-win32thread
endif
+ifdef HAVE_CROSS_COMPILE
+X264CONF += --cross-prefix="$(HOST)-"
+endif
$(TARBALLS)/x26410b-git.tar.xz:
$(call download_git,$(X264_GITURL))
More information about the vlc-commits
mailing list