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:
parent
18b58aa484
commit
1c4d3068f5
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
include ../mapkeeper/Makefile.config
|
include ../mapkeeper/Makefile.config
|
||||||
|
|
||||||
INC = -I ../stasis \
|
INC = -I ../stasis \
|
||||||
|
@ -9,8 +10,8 @@ INC = -I ../stasis \
|
||||||
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
LIBSRC = $(wildcard *.c) $(wildcard *.cpp)
|
||||||
LIBNAME = logstore
|
LIBNAME = logstore
|
||||||
|
|
||||||
ifeq (`uname`,"Linux")
|
ifeq ($(shell uname),Linux)
|
||||||
STATIC_LIBS= ./libstdc++.a ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
STATIC_LIBS= ../mapkeeper/thrift/gen-cpp/libmapkeeper.a \
|
||||||
-lrt sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
-lrt sherpa/LSMServerHandler.cc bin/liblogstore.a \
|
||||||
../stasis/bin/libstasis.a
|
../stasis/bin/libstasis.a
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue