diff options
Diffstat (limited to 'third_party/snappy.py')
| -rw-r--r-- | third_party/snappy.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/snappy.py b/third_party/snappy.py new file mode 100644 index 0000000..c70cb28 --- /dev/null +++ b/third_party/snappy.py @@ -0,0 +1,11 @@ + +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 ] |
