]> code.delx.au - pulseaudio/commitdiff
Make sure libatomic_ops.a isn't included in win32 builds as libtool doesn't
authorPierre Ossman <ossman@cendio.se>
Thu, 31 Aug 2006 16:39:53 +0000 (16:39 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 31 Aug 2006 16:39:53 +0000 (16:39 +0000)
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

configure.ac

index c08c1d0291f398c992c7283fb4698c01a2b639d4..7d85b32ae2437237b676030b11c1669f1e4ae16e 100644 (file)
@@ -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) ####