diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-13 20:07:12 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:10 +0800 |
commit | 89cc038b39850b294b927c3825601f861985d19c (patch) | |
tree | f12b0bda522cd76c16b8ee2f7708d28fcd351705 | |
parent | 39cb5f722f6202608e8a1d2a959b6516f0ed73c9 (diff) | |
download | gsoc2013-evolution-89cc038b39850b294b927c3825601f861985d19c.tar.gz gsoc2013-evolution-89cc038b39850b294b927c3825601f861985d19c.tar.zst gsoc2013-evolution-89cc038b39850b294b927c3825601f861985d19c.zip |
Bug #616452 - Do not set '-Wl,--no-undefined' on freebsd/openbsd
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 53be44215c..ea2e5ed5e4 100644 --- a/configure.ac +++ b/configure.ac @@ -175,7 +175,14 @@ dnl -DE_CAL_DISABLE_DEPRECATED AM_CPPFLAGS="$WARNING_FLAGS -fno-strict-aliasing" AC_SUBST(AM_CPPFLAGS) -LDFLAGS="$LDFLAGS -Wl,--no-undefined" +case "$host" in +*openbsd*|*freebsd*) + dnl Do not set '-Wl,--no-undefined' on freebsd/openbsd + ;; +*) + LDFLAGS="$LDFLAGS -Wl,--no-undefined" + ;; +esac AC_CANONICAL_HOST AC_DEFINE_UNQUOTED(VERSION_COMMENT, "", [Define if you want a comment appended to the version number]) |