[Mesa-dev] [PATCH 22/24] gallium/targets: add missing library dependencies

Matt Turner mattst88 at gmail.com
Fri Mar 28 14:50:11 PDT 2014


On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/gallium/targets/gbm/Makefile.am | 5 ++++-
>  src/gallium/targets/xa/Makefile.am  | 7 ++++++-
>  2 files changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am
> index e36d317..bad581d 100644
> --- a/src/gallium/targets/gbm/Makefile.am
> +++ b/src/gallium/targets/gbm/Makefile.am
> @@ -49,7 +49,10 @@ gbm_gallium_drm_la_LIBADD = \
>         $(top_builddir)/src/gallium/state_trackers/gbm/libgbm.la \
>         $(top_builddir)/src/gallium/auxiliary/libgallium.la \
>         $(LIBDRM_LIBS) \
> -       -lm
> +       -lm \
> +       $(CLOCK_LIB) \
> +       $(PTHREAD_LIBS) \
> +       $(DLOPEN_LIBS)

We seem to list -lm last in the list most of the time. If you do that
you don't have to modify that line. Might as well make -lm the last in
the list in the second hunk as well.


More information about the mesa-dev mailing list