[vlc-devel] [PATCH] configure.ac: enforce compilation check for wordexp
Alexandre Janniaux
ajanni at videolabs.io
Tue Nov 17 09:11:43 CET 2020
Hi,
On Mon, Nov 16, 2020 at 08:22:33PM +0200, Rémi Denis-Courmont wrote:
> Le lundi 16 novembre 2020, 17:33:25 EET Alexandre Janniaux a écrit :
> > I agree that the same rule should apply to other
> > functions as well instead of the ugly autotools exports.
>
> No. Again, this same scenario has been argued many times over. The current
> rules are as good as it gets for those identifiers that are required to be
> symbols. If you don't want such symbol to be available, then well, duh
> obviously, don't make it available at link time.
The point of those SDK is to bring backward compatibility while
allowing users to dynamically probe for version and function.
This __is__ similar to what dlsym does, except it's using weak
linking instead.
> Of course calling dlsym() would be cleaner, than what autoconf does, but that
> would only work for native builds.
>
> (It's a different story for those "functions" that are *not* required to be
> symbols.)
>
> --
> Rémi Denis-Courmont
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list