[Mesa-dev] [PATCH] st/xvmc/tests: Fix build failure
Lauri Kasanen
cand at gmx.com
Wed May 1 12:17:06 PDT 2013
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
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
--
1.7.2.1
More information about the mesa-dev
mailing list