mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-19 09:01:01 +00:00
loong64: build: Fix libc link flags
This commit is contained in:
parent
8b87893163
commit
4091f73c12
1 changed files with 8 additions and 5 deletions
|
@ -216,11 +216,14 @@ config("default_libs") {
|
|||
# linking can have run-time side effects, nothing should be listed here.
|
||||
libs = []
|
||||
} else if (is_linux || is_chromeos) {
|
||||
libs = [
|
||||
"dl",
|
||||
"pthread",
|
||||
"rt",
|
||||
]
|
||||
# loong64 uses newer libc that subsumes libdl.so etc.
|
||||
if (current_cpu != "loong64") {
|
||||
libs = [
|
||||
"dl",
|
||||
"pthread",
|
||||
"rt",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue