anv: add missing link against the math library
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 20 Apr 2016 19:33:46 +0000 (20:33 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 07:38:04 +0000 (08:38 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/Makefile.am

index 4981ad5e5ab0b38154afb7814fd4d713c5c5b528..03c2365b3b92cef5ee31739f52b6135fb1112938 100644 (file)
@@ -129,7 +129,8 @@ libvulkan_intel_la_LIBADD = $(WAYLAND_LIBS) \
        $(top_builddir)/src/mesa/libmesa.la \
        $(top_builddir)/src/mesa/drivers/dri/common/libdri_test_stubs.la \
        -lpthread -ldl -lstdc++ \
-        $(PER_GEN_LIBS)
+       $(PER_GEN_LIBS) \
+       -lm
 
 libvulkan_intel_la_LDFLAGS = \
        -shared \