[pulseaudio-commits] r1354 - /trunk/configure.ac

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Aug 31 09:39:54 PDT 2006


Author: ossman
Date: Thu Aug 31 18:39:53 2006
New Revision: 1354

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1354&root=pulseaudio&view=rev
Log:
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.

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/configure.ac?rev=1354&root=pulseaudio&r1=1353&r2=1354&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Aug 31 18:39:53 2006
@@ -326,7 +326,10 @@
 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) ####
 




More information about the pulseaudio-commits mailing list