From 138e3a387bb7f5770cd358700d158576a0461cf7 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Sun, 27 Mar 2011 16:12:08 +0000 Subject: Add "-no-undefined" as late as possible in the ./configure process This is so it won't be passed to GCC by accident. --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index 7abade21c..98b515bd7 100644 --- a/configure.ac +++ b/configure.ac @@ -2901,6 +2901,19 @@ mv -f libtool.tmp libtool chmod +x libtool +dnl --------------------------------------------- +dnl Libtool flag for Windows: +dnl +dnl The "-no-undefined" flag must be added after all other +dnl configure checks, because it is only for libtool and +dnl must not be passed to GCC by accident. +dnl --------------------------------------------- +case "$host_os" in + mingw* | cygwin*) + LDFLAGS="-no-undefined $LDFLAGS" + ;; +esac + dnl --------------------------------------------- dnl Some infos: dnl --------------------------------------------- -- cgit v1.2.3