forked from OSchip/llvm-project
[bazel] Add -lrt on non-darwin/non-windows for 1b1f1c7786
For shm_open in orc jit.
This commit is contained in:
parent
5a4033c367
commit
24c88c90a8
|
@ -2308,6 +2308,14 @@ cc_library(
|
|||
"include/llvm-c/OrcEE.h",
|
||||
],
|
||||
copts = llvm_copts,
|
||||
linkopts = select({
|
||||
"@bazel_tools//src/conditions:windows": [],
|
||||
"@bazel_tools//src/conditions:freebsd": [],
|
||||
"@bazel_tools//src/conditions:darwin": [],
|
||||
"//conditions:default": [
|
||||
"-lrt",
|
||||
],
|
||||
}),
|
||||
deps = [
|
||||
":BitReader",
|
||||
":BitWriter",
|
||||
|
|
Loading…
Reference in New Issue