Fix: Don't override user variables within the build system
[babeltrace.git] / plugins / ctf / lttng-live / Makefile.am
index d65662e2669afb73ea874518c9578881212a717f..3b40353e8fc39cb1d66fe7e2157e36a8c1083c69 100644 (file)
@@ -1,4 +1,4 @@
-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 \
@@ -7,4 +7,8 @@ libbabeltrace_plugin_ctf_lttng_live_la_SOURCES = lttng-live.c \
                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.028099 seconds and 4 git commands to generate.