[Mesa-dev] [PATCH] nouveau: use DLOPEN_LIBS instead of -ldl

Ilia Mirkin imirkin at alum.mit.edu
Thu Mar 20 04:30:37 PDT 2014


On Wed, Mar 19, 2014 at 11:45 PM, Jonathan Gray <jsg at jsg.id.au> wrote:
> libdl does not exist on many platforms which have dlopen in libc.
>
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

> ---
>  src/gallium/drivers/nouveau/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git src/gallium/drivers/nouveau/Makefile.am src/gallium/drivers/nouveau/Makefile.am
> index ac4f9bb..f004422 100644
> --- src/gallium/drivers/nouveau/Makefile.am
> +++ src/gallium/drivers/nouveau/Makefile.am
> @@ -50,4 +50,4 @@ nouveau_compiler_LDADD = \
>         ../../auxiliary/libgallium.la \
>         -lstdc++ \
>         -lm \
> -       -ldl
> +       $(DLOPEN_LIBS)
> --
> 1.8.5.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list