summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-08-31 16:39:53 +0000
committerPierre Ossman <ossman@cendio.se>2006-08-31 16:39:53 +0000
commit6e3de3dbe5e70839c70c1180a08fa720946ee247 (patch)
tree62bd9d27c069cdf7708b31bef4761a7ca6f7c1d1 /configure.ac
parent6e9706bcbcc0c5743d21ed48bd6e6485e4ee5203 (diff)
Make sure libatomic_ops.a isn't included in win32 builds as libtool doesn't
like static libs in dlls. Everything is in the headers anyway, so we do not need it. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1354 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c08c1d02..7d85b32a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,7 +326,10 @@ AC_CHECK_HEADERS([atomic_ops.h], [], [
AC_MSG_ERROR([*** libatomic-ops headers not found])
])
-LIBS="$LIBS -latomic_ops"
+# Win32 does not need the lib and breaks horribly if we try to include it
+if test "x$os_is_win32" != "x1" ; then
+ LIBS="$LIBS -latomic_ops"
+fi
#### OSS support (optional) ####