mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
update swift package
This commit is contained in:
@@ -1,22 +1,27 @@
|
||||
cc_library(
|
||||
name = "swift-llvm-support",
|
||||
srcs = glob([
|
||||
"libswiftAndLlvmSupportReal.a",
|
||||
"libswiftAndLlvmSupportReal.so",
|
||||
]),
|
||||
srcs = [
|
||||
"libCodeQLSwiftFrontendTool.a",
|
||||
] + select({
|
||||
"@platforms//os:linux": [
|
||||
"libCodeQLSwiftFrontendTool.so",
|
||||
],
|
||||
"@platforms//os:macos": [
|
||||
"libCodeQLSwiftFrontendTool.dylib",
|
||||
],
|
||||
}),
|
||||
hdrs = glob(["include/**/*"]),
|
||||
linkopts = [
|
||||
"-lm",
|
||||
"-lz",
|
||||
] + select({
|
||||
"@platforms//os:macos": ["-lcurses"],
|
||||
"@platforms//os:linux": [
|
||||
"-luuid",
|
||||
"-lrt",
|
||||
"-lpthread",
|
||||
"-ltinfo",
|
||||
"-ldl",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
strip_include_prefix = "include",
|
||||
visibility = ["//visibility:public"],
|
||||
|
||||
Reference in New Issue
Block a user