[libav-devel] [PATCH] configure: Directly support Android as target OS
lu_zero at gentoo.org
Mon Jun 16 10:22:25 CEST 2014
On 16/06/14 09:25, Martin Storsjö wrote:
> On Fri, 13 Jun 2014, Luca Barbato wrote:
>> configure | 6 ++++++
>> 1 file changed, 6 insertions(+)
>> diff --git a/configure b/configure
>> index 8359c68..ede114c 100755
>> --- a/configure
>> +++ b/configure
>> @@ -3340,6 +3340,12 @@ case $target_os in
>> add_cppflags '-I\$(SRC_PATH)/compat/aix'
>> enabled shared && add_ldflags -Wl,-brtl
>> + android)
>> + disable symver
>> + SLIB_INSTALL_NAME='$(SLIBNAME)'
>> + SLIB_INSTALL_LINKS=
>> + SHFLAGS=-shared
>> + ;;
>> 22.214.171.124 (Apple Git-48)
> Looks ok to me. Perhaps a comment on SHFLAGS could be worthwhile, saying
> this is explicitly to not set the soname (so someone doesn't
> accidentally add it at some point)?
> This still creates the libavfoo.so.42 while building which might look a
> bit misleading/surprising (but avoiding that would be a bit more hacking
> on the makefiles), but the output files from "make install" is just right.
Amending and pushing.
More information about the libav-devel