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

Christian König deathsimple at vodafone.de
Thu May 2 01:30:51 PDT 2013


Am 01.05.2013 21:17, schrieb Lauri Kasanen:
> 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>

Looks good to me, patch is:

Reviewed-by: Christian König <christian.koenig at amd.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
>   tests_test_context_SOURCES = tests/test_context.c tests/testlib.c
>   tests_test_context_LDADD = $(TEST_LIBS)
>   tests_test_surface_SOURCES = tests/test_surface.c tests/testlib.c



More information about the mesa-dev mailing list