libhiz-util uses symbols from libpiglitutil but wasn't linked to it.
That worked in linux because linker --no-undefined wasn't passed to
linker. But tests in Mac caught the missing library dependecy.

I now checked with ldd -r that no libraries or binaries have undefined
symbols in my system..

Signed-off-by: Pauli Nieminen <[email protected]>
CC: Vinson Lee <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50708
---
 tests/hiz/CMakeLists.gl.txt |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/hiz/CMakeLists.gl.txt b/tests/hiz/CMakeLists.gl.txt
index 28d8f85..cea23ca 100644
--- a/tests/hiz/CMakeLists.gl.txt
+++ b/tests/hiz/CMakeLists.gl.txt
@@ -5,13 +5,16 @@ include_directories(
        ${OPENGL_INCLUDE_PATH}
        )
 
+link_libraries (
+       piglitutil
+)
+
 piglit_add_library(hiz-util
        hiz-util.c
        )
 
 link_libraries (
        hiz-util
-       piglitutil
 
        ${OPENGL_gl_LIBRARY}
        ${OPENGL_glu_LIBRARY}
-- 
1.7.9.5

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to