summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-02-02 18:30:09 +0800
committerLennart Poettering <lennart@poettering.net>2010-02-02 12:01:17 +0100
commit2f86ba4fc22901b4aa5e0b4029d3b80f3feb0a91 (patch)
treef42ef17dd20808c2d8f350255891c7569eb28d32
parent57b0397823088fd3e15119f0e1aeb6b7bc2bc90b (diff)
osx: don't build the once-test binary on OS X
OS X lacks the barrier pthread APIs
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2978b8f7..6c0b4d8c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -294,7 +294,6 @@ TESTS_BINARIES = \
hook-list-test \
memblock-test \
thread-test \
- once-test \
flist-test \
asyncq-test \
asyncmsgq-test \
@@ -340,6 +339,11 @@ TESTS_BINARIES += \
alsa-time-test
endif
+if !OS_IS_DARWIN
+TESTS_BINARIES += \
+ once-test
+endif
+
if BUILD_TESTS_DEFAULT
noinst_PROGRAMS = $(TESTS_BINARIES)
else