add -lpthread to build with BDB 4.3. addresses #210

git-svn-id: file:///svn/tokudb@1280 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2007-12-20 15:21:21 +00:00
parent 0c31bc0a83
commit 3ba63a3c99

View file

@ -13,10 +13,10 @@ CXXFLAGS += $(OPTFLAGS)
ifdef BDBDIR
BDB_CPPFLAGS = -I$(BDBDIR)/include
BDB_LDFLAGS = -L$(BDBDIR)/lib -ldb_cxx -Wl,-rpath,$(BDBDIR)/lib
BDB_LDFLAGS = -L$(BDBDIR)/lib -ldb_cxx -lpthread -Wl,-rpath,$(BDBDIR)/lib
else
BDB_CPPFLAGS =
BDB_LDFLAGS = -ldb_cxx
BDB_LDFLAGS = -ldb_cxx -lpthread
endif
TARGETS = db-benchmark-test-bdb db-benchmark-test-tokudb