Cygwin: Fix handling of wait pipe hangup by properly detecting EOF
[lttng-tools.git] / configure.ac
index 65d709dd883962d62122480d8dbd3e022c102a7a..dc2af5829f7d1824e32c8d436b059abe0c5d93af 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([lttng-tools],[2.0.4],[dgoulet@efficios.com],[],[http://lttng.org])
+AC_INIT([lttng-tools],[2.0.5],[dgoulet@efficios.com],[],[http://lttng.org])
 AC_CONFIG_AUX_DIR([config])
 AC_CANONICAL_TARGET
 AC_CANONICAL_HOST
@@ -187,6 +187,13 @@ AX_CONFIG_FEATURE(
 )
 AM_CONDITIONAL([COMPAT_EPOLL], [ test "$enable_epoll" = "yes" ])
 
+case "${host}" in
+    # All symbols must be resolved at link time on Cygwin/MinGW/Windows,
+    # else libtool will not be able to build shared libraries.
+    *-*-cygwin*)
+    LDFLAGS="-Wl,-no-undefined $LDFLAGS";;
+esac
+
 AC_SYS_LARGEFILE
 AC_PROG_CC
 LT_INIT
This page took 0.025093 seconds and 4 git commands to generate.