summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorCarlo Bramini <carlo.bramix@libero.it>2012-06-05 12:18:46 +0300
committerCarlo Bramini <carlo.bramix@libero.it>2012-06-05 12:18:46 +0300
commit43d2cc9a1598132bda53d1e95bf7f90e5cc82fab (patch)
tree87fc334d0474ca7d81f47c0789636d4b42f4fe2b /m4
parente6dddfdfa6cfa00c5e87e99f5c13e24cadf8204d (diff)
downloadxine-lib-43d2cc9a1598132bda53d1e95bf7f90e5cc82fab.tar.gz
xine-lib-43d2cc9a1598132bda53d1e95bf7f90e5cc82fab.tar.bz2
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/attributes.m42
1 files changed, 1 insertions, 1 deletions
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"
;;
*)