Fix for missing/implicit libuuid on Darwin
Summary:
Darwin makes the libuuid symbols available by default. Which
is weird, but there's no separate libuuid at all.
Reviewers: salguarnieri
Subscribers: #core_team
@@ -26,7 +26,10 @@ cc_library(
cc_library(
name = "libuuid",
srcs = ["empty.cc"],
- linkopts = ["-luuid"],
+ linkopts = select({
+ "//:darwin": [],
+ "//conditions:default": ["-luuid"],
+ }),
)
exports_files(["libmemcached.mem_config.h"])
