]> git.sesse.net Git - vlc/blobdiff - contrib/src/x264/rules.mak
contrib: set cross-prefix for x264 when cross compiling
[vlc] / contrib / src / x264 / rules.mak
index 4cbeb714c8284e66207e7bb0ce7a01fe755ced70..a0bd03e34ab67a82a954758f3d100f76a4e3798e 100644 (file)
@@ -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))