[glib] gthread: build unix tests only on unix
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gthread: build unix tests only on unix
- Date: Thu, 26 May 2011 09:21:09 +0000 (UTC)
commit 30672af7ff881ceaf9834385afd6138a969147c8
Author: Marc-André Lureau <marcandre lureau gmail com>
Date: Wed May 11 16:42:14 2011 +0200
gthread: build unix tests only on unix
The build fails when compiling with mingw32. Correct the build of a
unix tests on unix only.
https://bugzilla.gnome.org/show_bug.cgi?id=649973
gthread/tests/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthread/tests/Makefile.am b/gthread/tests/Makefile.am
index 0317cf2..993dc96 100644
--- a/gthread/tests/Makefile.am
+++ b/gthread/tests/Makefile.am
@@ -14,10 +14,12 @@ TEST_PROGS += 1bit-emufutex
1bit_emufutex_CFLAGS = -DTEST_EMULATED_FUTEX
1bit_emufutex_LDADD = $(progs_ldadd) $(top_builddir)/gthread/libgthread-2.0.la
+if OS_UNIX
TEST_PROGS += unix-multithreaded
unix_multithreaded_SOURCES = $(top_srcdir)/glib/tests/unix.c
unix_multithreaded_CFLAGS = -DTEST_THREADED
unix_multithreaded_LDADD = $(progs_ldadd) $(top_builddir)/gthread/libgthread-2.0.la
+endif
TEST_PROGS += atomic
atomic_SOURCES = atomic.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]