build fixes for static binaries

git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@3559 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
sears 2012-01-11 23:32:42 +00:00
parent 18b58aa484
commit 1c4d3068f5

View file

@ -1,3 +1,4 @@
include ../mapkeeper/Makefile.config
INC = -I ../stasis \
@ -9,8 +10,8 @@ INC = -I ../stasis \
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
LIBNAME = logstore
ifeq (`uname`,"Linux")
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
ifeq ($(shell uname),Linux)
STATIC_LIBS= ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
-lrt sherpa/LSMServerHandler.cc bin/liblogstore.a \
../stasis/bin/libstasis.a
else