Link psapi on Windows (MSYS2)

This commit is contained in:
Jan Niklas Hasse 2018-01-18 10:19:53 +01:00 committed by Jacob Dufault
parent 3726b2cdca
commit 7fa1accfdf

View File

@ -283,6 +283,8 @@ def build(bld):
lib.append('thr')
elif sys.platform == 'darwin':
lib.append('pthread')
elif sys.platform == 'msys':
lib.append('psapi') # GetProcessMemoryInfo
if bld.env['use_clang_cxx']:
# -fno-rtti is required for object files using clang/llvm C++ API