Fixes scripts/test/Makefile failing with link error.

This commit is contained in:
vladlosev 2010-11-19 20:05:58 +00:00
parent b6c141fe2a
commit e349025485

View File

@ -21,7 +21,9 @@ SAMPLE_DIR = ../../samples
GTEST_MAIN_CC = ../../src/gtest_main.cc
# Flags passed to the preprocessor.
CPPFLAGS += -I$(FUSED_GTEST_DIR)
# We have no idea here whether pthreads is available in the system, so
# disable its use.
CPPFLAGS += -I$(FUSED_GTEST_DIR) -DGTEST_HAS_PTHREAD=0
# Flags passed to the C++ compiler.
CXXFLAGS += -g