[Mesa-dev] [PATCH kmscube 2/5] Resolve link issue due to unresolved symbol sqrtf

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 13 15:28:29 UTC 2017


Due to a missing trailing \ the -lm was not added to the LDADD and we'd
fail at link time.

Fixes: 1cdfb660a67 ("Move link against libm to LDADD")
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 1fe1bd9..8aa2756 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ kmscube_LDADD = \
 	$(DRM_LIBS) \
 	$(GBM_LIBS) \
 	$(EGL_LIBS) \
-	$(GLES2_LIBS)
+	$(GLES2_LIBS) \
 	-lm
 
 kmscube_CFLAGS = \
-- 
2.11.1



More information about the mesa-dev mailing list