diff options
Diffstat (limited to 'third_party/lmdb.BUILD')
-rw-r--r-- | third_party/lmdb.BUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/lmdb.BUILD b/third_party/lmdb.BUILD new file mode 100644 index 0000000000..357e4a9335 --- /dev/null +++ b/third_party/lmdb.BUILD @@ -0,0 +1,25 @@ +# Description: +# LMDB is the Lightning Memory-mapped Database. + +licenses(["notice"]) # OpenLDAP Public License + +exports_files(["LICENSE"]) + +cc_library( + name = "lmdb", + srcs = [ + "mdb.c", + "midl.c", + ], + hdrs = [ + "lmdb.h", + "midl.h", + ], + copts = [ + "-w", + ], + linkopts = [ + "-lpthread", + ], + visibility = ["//visibility:public"], +) |