[babl] Build concurrency-stress-test only on Unix as it uses pthreads unconditionally
- From: Tor Lillqvist <tml src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [babl] Build concurrency-stress-test only on Unix as it uses pthreads unconditionally
- Date: Fri, 29 Jan 2010 10:11:43 +0000 (UTC)
commit 5b1129a76f2f91d5f5503b078f975e55d9753312
Author: Tor Lillqvist <tml iki fi>
Date: Fri Jan 29 12:10:00 2010 +0200
Build concurrency-stress-test only on Unix as it uses pthreads unconditionally
tests/Makefile.am | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5b06374..9fa34e2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,7 @@
+if OS_UNIX
+CONCURRENCY_STRESS_TEST = concurrency-stress-test
+endif
+
TESTS = \
grayscale_to_rgb \
rgb_to_bgr \
@@ -7,12 +11,14 @@ TESTS = \
babl_class_name \
types \
models \
- concurrency-stress-test
+ $(CONCURRENCY_STRESS_TEST)
TESTS_ENVIRONMENT = BABL_PATH=$(top_builddir)/extensions/.libs
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/babl
+if OS_UNIX
AM_LDFLAGS = -pthread
+endif
LDADD = $(top_builddir)/babl/libbabl- BABL_API_VERSION@.la \
$(MATH_LIB)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]