Skip to content

Commit

Permalink
Merge pull request mongodb-partners#35 from igorsol/psmdb-97
Browse files Browse the repository at this point in the history
PSMDB-97 use static LZ4 library via shim_lz4 proxy
  • Loading branch information
Denis Protyvenskyi authored Dec 13, 2016
2 parents b944080 + 2ee0bb7 commit 110a38f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions SConscript
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
Import("env")

dynamic_syslibdeps = []
conf = Configure(env)

if conf.CheckLibWithHeader("lz4", ["lz4.h","lz4hc.h"], "C", "LZ4_versionNumber();", autoadd=False ):
dynamic_syslibdeps.append("lz4")

conf.Finish()

env.Library(
target= 'storage_rocks_base',
source= [
Expand Down Expand Up @@ -37,11 +29,11 @@ env.Library(
'$BUILD_DIR/mongo/util/background_job',
'$BUILD_DIR/mongo/util/processinfo',
'$BUILD_DIR/third_party/shim_snappy',
'$BUILD_DIR/third_party/shim_lz4',
],
SYSLIBDEPS=["rocksdb",
"z",
"bz2"] #z and bz2 are dependencies for rocks
+ dynamic_syslibdeps
)

env.Library(
Expand Down

0 comments on commit 110a38f

Please sign in to comment.