[vlc-devel] [PATCH] configure.ac: enforce compilation check for wordexp

Alexandre Janniaux ajanni at videolabs.io
Mon Nov 16 16:33:25 CET 2020


Hi,

On Mon, Nov 16, 2020 at 05:24:29PM +0200, Rémi Denis-Courmont wrote:
> Le lundi 16 novembre 2020, 14:41:43 EET Alexandre Janniaux a écrit :
> > wordexp can be available on the OS as a private API but not available
> > for the application. This is the case on iOS armv7.
>
> This breaks if the symbol is defined in headers but then turns out missing.

I think that it's what I wrote in the following mail. :)

> Really, there's nothing specific about wordexp() here. The same rules apply
> almost every other tested functions, and this has been argued to death.
>
> -1

There is, android and iOS are using availability directives
and not linkage tests, and wordexp is declared as not available
on iOS. I agree that the same rule should apply to other
functions as well instead of the ugly autotools exports.

Regards,
--
Alexandre Janniaux
Videolabs


More information about the vlc-devel mailing list