From 6e3de3dbe5e70839c70c1180a08fa720946ee247 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 31 Aug 2006 16:39:53 +0000 Subject: 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 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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) #### -- cgit