diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2011-03-27 16:12:08 +0000 |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2011-03-27 16:12:08 +0000 |
commit | 138e3a387bb7f5770cd358700d158576a0461cf7 (patch) | |
tree | 2f9c37452cc2121d595d48d620cddc6152f8d3d9 | |
parent | b9d7a3c82c160c8871c9f9effbc0a91c0d42fd53 (diff) | |
download | xine-lib-138e3a387bb7f5770cd358700d158576a0461cf7.tar.gz xine-lib-138e3a387bb7f5770cd358700d158576a0461cf7.tar.bz2 |
Add "-no-undefined" as late as possible in the ./configure process
This is so it won't be passed to GCC by accident.
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7abade21c..98b515bd7 100644 --- a/configure.ac +++ b/configure.ac @@ -2902,6 +2902,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 --------------------------------------------- |