[Mesa-dev] [PATCH] st/xvmc/tests: Fix build failure

Matt Turner mattst88 at gmail.com
Thu May 2 07:58:30 PDT 2013


On Wed, May 1, 2013 at 12:17 PM, Lauri Kasanen <cand at gmx.com> wrote:
> Without this, the X lib path was not properly passed for tests/:
> /usr/bin/ld: cannot find -lXvMCW
> /usr/bin/ld: cannot find -lXvMC
> /usr/bin/ld: cannot find -lXv
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
>
> Signed-off-by: Lauri Kasanen <cand at gmx.com>
> ---
>  src/gallium/state_trackers/xvmc/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/gallium/state_trackers/xvmc/Makefile.am
> b/src/gallium/state_trackers/xvmc/Makefile.am index 8ac7406..83a568b
> 100644
> --- a/src/gallium/state_trackers/xvmc/Makefile.am
> +++ b/src/gallium/state_trackers/xvmc/Makefile.am
> @@ -44,7 +44,7 @@ check_PROGRAMS = \
>  TESTS = $(check_PROGRAMS)
>  noinst_PROGRAMS = tests/xvmc_bench
>
> -TEST_LIBS = -lXvMCW -lXvMC -lXv -lX11
> +TEST_LIBS = $(XVMC_LIBS) -lXvMCW -lXvMC -lXv -lX11

Doesn't XVMC_LIBS include all of those other libraries? I think
they're now redundant and should be removed.


More information about the mesa-dev mailing list