projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force the ld "no-undefined" flag on Cygwin
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 2b6b68739f3717a984bb53e8ba3835611340eea8..dc2af5829f7d1824e32c8d436b059abe0c5d93af 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-187,6
+187,13
@@
AX_CONFIG_FEATURE(
)
AM_CONDITIONAL([COMPAT_EPOLL], [ test "$enable_epoll" = "yes" ])
)
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
AC_SYS_LARGEFILE
AC_PROG_CC
LT_INIT
This page took
0.023545 seconds
and
4
git commands to generate.