ref: d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
parent: 3e0793b80bfe94faf9b31f0f14c339c00ed78282
author: James Zern <[email protected]>
date: Tue Dec 9 12:24:49 EST 2014
x86_abi_support: set LIBVPX_RAND w/vp9-postproc set LIBVPX_RAND with --enable-vp9-postproc, previously only the vp8 config was checked. this fixes the build with --disable-postproc. Change-Id: Ia61baded6aa0e44d6443ae4a3c85915f1054f053
--- a/vpx_ports/x86_abi_support.asm
+++ b/vpx_ports/x86_abi_support.asm
@@ -395,7 +395,7 @@
; On Android platforms use lrand48 when building postproc routines. Prior to L
; rand() was not available.
-%if CONFIG_POSTPROC=1
+%if CONFIG_POSTPROC=1 || CONFIG_VP9_POSTPROC=1
%ifdef __ANDROID__
extern sym(lrand48)
%define LIBVPX_RAND lrand48
@@ -403,4 +403,4 @@
extern sym(rand)
%define LIBVPX_RAND rand
%endif
-%endif ; CONFIG_POSTPROC
+%endif ; CONFIG_POSTPROC || CONFIG_VP9_POSTPROC