X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2FMakefile.am;h=c153ea250415a7ac7a62e004a5c72362942c2b19;hb=bfcda6cea270952898ea122c375f2ed19105adef;hp=34ad690753e65df98e55502d9a6623de8aadff8b;hpb=4b68c31f1859175d2bd4e1b42f1b7d301e84760f;p=lttng-ust.git diff --git a/libringbuffer/Makefile.am b/libringbuffer/Makefile.am index 34ad6907..c153ea25 100644 --- a/libringbuffer/Makefile.am +++ b/libringbuffer/Makefile.am @@ -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)