Port: Add winsock support to live for mingw
[babeltrace.git] / cli / Makefile.am
index 5f07bf19b7c17543d5a5c58c4270dcfd093a4197..d5918366536e94434946dd2aabcae9ceb2ed3aff 100644 (file)
@@ -25,12 +25,12 @@ babeltrace_bin_SOURCES = \
        babeltrace-cfg-cli-args-connect.h \
        babeltrace-cfg-cli-args-default.h \
        babeltrace-cfg-cli-args-default.c \
-       logging.h
+       logging.c logging.h
 
 # -Wl,--no-as-needed is needed for recent gold linker who seems to think
 # it knows better and considers libraries with constructors having
 # side-effects as dead code.
-babeltrace_bin_LDFLAGS = $(LD_NO_AS_NEEDED) -Wl,-export-dynamic
+babeltrace_bin_LDFLAGS = $(LD_NO_AS_NEEDED)
 
 # Add all the convenience libraries used by Babeltrace plugins and the
 # library. They will be used when embedding plugins (BUILT_IN_PLUGINS),
@@ -74,7 +74,7 @@ endif
 endif
 
 if BABELTRACE_BUILD_WITH_MINGW
-babeltrace_bin_LDADD += -lrpcrt4 -lintl -liconv -lole32 -lpopt -lpthread
+babeltrace_bin_LDADD += -lws2_32 -lrpcrt4 -lintl -liconv -lole32 -lpopt -lpthread
 endif
 
 # Only used for in-tree execution and tests
This page took 0.023348 seconds and 4 git commands to generate.