mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
[waf] Remove -lrt & add -latomic
This commit is contained in:
parent
d605217c1a
commit
41eb1c863c
5
wscript
5
wscript
@ -270,8 +270,11 @@ def build(bld):
|
||||
|
||||
lib = []
|
||||
if sys.platform.startswith('linux'):
|
||||
lib.append('rt')
|
||||
# For __atomic_* when lock free instructions are unavailable
|
||||
# (either through hardware or OS support)
|
||||
lib.append('atomic')
|
||||
lib.append('pthread')
|
||||
# loguru calls dladdr
|
||||
lib.append('dl')
|
||||
elif sys.platform.startswith('freebsd'):
|
||||
# loguru::stacktrace_as_stdstring calls backtrace_symbols
|
||||
|
Loading…
Reference in New Issue
Block a user