Fix the symlink creation bug if using bazel

This commit is contained in:
Liang Zou 2021-02-20 14:33:01 +08:00 committed by Rodrigo Queiro
parent e370cd5166
commit 6d14ac3efe

View File

@ -56,6 +56,8 @@ def glog_library(namespace = "google", with_gflags = 1, **kwargs):
linux_or_darwin_copts = wasm_copts + [
# For src/utilities.cc.
"-DHAVE_SYS_SYSCALL_H",
# For src/logging.cc to create symlinks.
"-DHAVE_UNISTD_H",
]
freebsd_only_copts = [