From e9258a238ec07c349c89992a639b388de36df3fb Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 21 Jan 2012 23:10:23 +0000 Subject: [PATCH] add pthread check to SConscript so subsequent google protocol buffers check doesn't fail --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index b36216746..eb1566e04 100644 --- a/SConstruct +++ b/SConstruct @@ -98,6 +98,9 @@ if not conf.CheckLibWithHeader('bz2', 'bzlib.h', 'CXX'): if not conf.CheckLibWithHeader('libzip', 'zip.h', 'CXX'): print "Zip library not found. Exiting" Exit(-1) +if not conf.CheckLibWithHeader('pthread', 'pthread.h', 'CXX'): + print "pthread not found. Exiting" + Exit(-1) if not conf.CheckLibWithHeader('protobuf', 'google/protobuf/descriptor.h', 'CXX'): print "Google Protobuffer library not found. Exiting" Exit(-1)