util: Link libmesautil into u_atomic_test
authorMatt Turner <mattst88@gmail.com>
Thu, 14 Sep 2017 17:48:57 +0000 (10:48 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 15 Sep 2017 16:37:30 +0000 (09:37 -0700)
Platforms without particular atomic operations require the
implementations in u_atomic.c

Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Fixes: a6a38a038bd ("util/u_atomic: provide 64bit atomics where
they're missing")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/Makefile.am

index 4512dc99d5e1a7d436dd774f5e3d35035f776184..9885bbe9685b3d702057a00a53a6edb2a605bade 100644 (file)
@@ -62,6 +62,7 @@ libxmlconfig_la_LIBADD = $(EXPAT_LIBS) -lm
 
 sysconf_DATA = drirc
 
+u_atomic_test_LDADD = libmesautil.la
 roundeven_test_LDADD = -lm
 
 check_PROGRAMS = u_atomic_test roundeven_test