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 <c...@gmx.com>

Looks good to me, patch is:

Reviewed-by: Christian König <christian.koe...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to