numa support: allow disabling numa support
[lttng-ust.git] / libringbuffer / Makefile.am
index 34ad690753e65df98e55502d9a6623de8aadff8b..c153ea250415a7ac7a62e004a5c72362942c2b19 100644 (file)
@@ -15,7 +15,10 @@ libringbuffer_la_SOURCES = \
 
 libringbuffer_la_LIBADD = \
        -lpthread \
-       -lrt \
-       -lnuma
+       -lrt
+
+if HAVE_LIBNUMA
+libringbuffer_la_LIBADD += -lnuma
+endif
 
 libringbuffer_la_CFLAGS = -DUST_COMPONENT="libringbuffer" $(AM_CFLAGS)
This page took 0.023648 seconds and 4 git commands to generate.