Fix: Don't override user variables within the build system
[babeltrace.git] / plugins / ctf / lttng-live / Makefile.am
index dcd310ee7b92681dcf0fb80582bf01bfe2c839fb..3b40353e8fc39cb1d66fe7e2157e36a8c1083c69 100644 (file)
@@ -1,9 +1,14 @@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/plugins
+AM_CPPFLAGS += -I$(top_srcdir)/plugins
 
 libbabeltrace_plugin_ctf_lttng_live_la_SOURCES = lttng-live.c \
                data-stream.c lttng-live-internal.h \
                data-stream.h metadata.c metadata.h \
                viewer-connection.c viewer-connection.h \
-               lttng-viewer-abi.h
+               lttng-viewer-abi.h \
+               logging.c logging.h
+
+if BABELTRACE_BUILD_WITH_MINGW
+libbabeltrace_plugin_ctf_lttng_live_la_LIBADD = -lws2_32
+endif
 
 noinst_LTLIBRARIES = libbabeltrace-plugin-ctf-lttng-live.la
This page took 0.026365 seconds and 4 git commands to generate.