Files
mongo/third_party/snappy.py
Eliot Horowitz 4c2600d332 scons flag to use each library externally --use-system-(prcre|boost) SERVER-3829
currently supported:

--use-system-all

--use-system-pcre
--use-system-sm
2011-11-14 18:05:46 -05:00

15 lines
510 B
Python

def configure( env , fileLists , options ):
#fileLists = { "serverOnlyFiles" : [] }
myenv = env.Clone()
if not options["windows"]:
myenv.Append(CPPFLAGS=" -Wno-sign-compare -Wno-unused-function ") #snappy doesn't compile cleanly
files = ["third_party/snappy/snappy.cc", "third_party/snappy/snappy-sinksource.cc"]
fileLists["serverOnlyFiles"] += [ myenv.Object(f) for f in files ]
def configureSystem( env , fileLists , options ):
configure( env , fileLists , options )