[PATCH libdrm] tests: Add -lm to LDADD for dristat

Alex Deucher alexdeucher at gmail.com
Tue Sep 8 20:50:09 PDT 2015


On Mon, Sep 7, 2015 at 6:02 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Fixes build failure due to unresolved log2.
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  tests/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 9a2d932..a511d28 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -33,6 +33,8 @@ check_PROGRAMS = \
>         dristat \
>         drmstat
>
> +dristat_LDADD = -lm
> +
>  if HAVE_NOUVEAU
>  SUBDIRS += nouveau
>  endif
> --
> 2.5.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list