From: Adam Dickmeiss Date: Tue, 9 Mar 2010 14:13:48 +0000 (+0100) Subject: Use PTHREAD_CFLAGS for all test sources X-Git-Tag: v4.0.3~37 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=ed31c923f03ec124060972f5351b8b33e07a2e13 Use PTHREAD_CFLAGS for all test sources At this stage only tst_icu_I18N use threads. --- diff --git a/test/Makefile.am b/test/Makefile.am index 08c0eda..8937de7 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -50,6 +50,7 @@ tstodrcodec.c tstodrcodec.h: tstodr.asn $(YAZCOMP) LDADD = ../src/libyaz.la tst_icu_I18N_LDADD = ../src/libyaz_icu.la $(ICU_LIBS) +AM_CFLAGS = $(PTHREAD_CFLAGS) CONFIG_CLEAN_FILES=*.log @@ -76,7 +77,6 @@ tst_retrieval_SOURCES = tst_retrieval.c tst_tpath_SOURCES = tst_tpath.c tst_timing_SOURCES = tst_timing.c tst_query_charset_SOURCES = tst_query_charset.c -tst_icu_I18N_CFLAGS = $(PTHREAD_CFLAGS) tst_icu_I18N_SOURCES = tst_icu_I18N.c tst_match_glob_SOURCES = tst_match_glob.c tst_rpn2cql_SOURCES = tst_rpn2cql.c