X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2FMakefile.am;h=6b11d50843cf351d56f17b52668c5338e80a3e99;hp=a8125bc404407c44451297c30ff60f3d370a6775;hb=0ba98ebc83bf874d34c8c84b164a6ad803e9de75;hpb=1c39da610b4b1e47a50ab51d9cdfc56d895f2b73 diff --git a/src/common/Makefile.am b/src/common/Makefile.am index a8125bc40..6b11d5084 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -24,3 +24,13 @@ if HAVE_LIBLTTNG_UST_CTL libconsumer_la_LIBADD += \ $(top_builddir)/src/common/ust-consumer/libust-consumer.la endif + +if COMPAT_EPOLL +COMPAT=compat/compat-epoll.c +else +COMPAT=compat/compat-poll.c +endif + +noinst_LTLIBRARIES += libcompat.la + +libcompat_la_SOURCES = compat/poll.h $(COMPAT)