summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-11-15 06:52:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-11-15 06:52:52 +0000
commit14223da4ad36994191d8e25044782392041ad141 (patch)
treeefc5de8ed0618f4c5f1a598b3cdd173b8eb78e2f
parentf2ea8c2e7becd41ee449530aeacaede0927bc374 (diff)
downloadeet-14223da4ad36994191d8e25044782392041ad141.tar.gz
Eet: remove --as-needed on OpenBSD
on OpenBSD, -Wl,--as-needed conflicts with -pthread. Reported by Fabien Romano. SVN revision: 65222
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7890ad4..a4aa4bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -410,7 +410,13 @@ case "$host_os" in
esac
AC_SUBST(lt_enable_auto_import)
-EFL_LINKER_FLAG([-Wl,--as-needed])
+case "${host_os}" in
+ openbsd*)
+ ;;
+ *)
+ EFL_LINKER_FLAG([-Wl,--as-needed])
+ ;;
+esac
### Checks for library functions
AC_ISC_POSIX