mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-21 16:09:40 +00:00
Link psapi on Windows (MSYS2)
This commit is contained in:
parent
3726b2cdca
commit
7fa1accfdf
2
wscript
2
wscript
@ -283,6 +283,8 @@ def build(bld):
|
|||||||
lib.append('thr')
|
lib.append('thr')
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
lib.append('pthread')
|
lib.append('pthread')
|
||||||
|
elif sys.platform == 'msys':
|
||||||
|
lib.append('psapi') # GetProcessMemoryInfo
|
||||||
|
|
||||||
if bld.env['use_clang_cxx']:
|
if bld.env['use_clang_cxx']:
|
||||||
# -fno-rtti is required for object files using clang/llvm C++ API
|
# -fno-rtti is required for object files using clang/llvm C++ API
|
||||||
|
Loading…
Reference in New Issue
Block a user