From 43d2cc9a1598132bda53d1e95bf7f90e5cc82fab Mon Sep 17 00:00:00 2001 From: Carlo Bramini Date: Tue, 5 Jun 2012 12:18:46 +0300 Subject: Fixed -no-undefined handling with mingw and cygwin "-no-undefined" is not a linker flag, it's a libtool flag, so it must be removed from LDFLAGS for CYGWIN and MINGW. There is already another variable for that purpose. --- m4/attributes.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/attributes.m4 b/m4/attributes.m4 index 3d9c256a0..4f672bffd 100644 --- a/m4/attributes.m4 +++ b/m4/attributes.m4 @@ -114,7 +114,7 @@ AC_DEFUN([CC_NOUNDEFINED], [ dnl use it only for libraries in mingw32-w64 *-freebsd* | *-openbsd*) ;; - *-mingw*) + *-mingw* | *-cygwin*) LDFLAGS_NOUNDEFINED="-no-undefined" ;; *) -- cgit v1.2.3