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
This commit is contained in:
Pierre Ossman 2006-08-31 16:39:53 +00:00
parent 6e9706bcbc
commit 6e3de3dbe5

View 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) ####