Compile Hashing lib as static and link to AMXX

This commit is contained in:
Arkshine
2015-03-10 12:15:46 +01:00
parent c03bb3693e
commit aaafe0f3f2
3 changed files with 30 additions and 10 deletions

View File

@ -32,7 +32,7 @@ elif builder.target_platform == 'windows':
]
binary.compiler.linkflags += jit_objects
binary.compiler.linkflags += [AMXX.zlib.binary]
binary.compiler.linkflags += [AMXX.zlib.binary, AMXX.hashing.binary]
if builder.target_platform == 'mac':
binary.compiler.postlink += [
@ -93,13 +93,6 @@ binary.sources = [
'cvars.cpp',
'../public/memtools/CDetour/detours.cpp',
'../public/memtools/CDetour/asm/asm.c',
'../public/hashing/hashing.cpp',
'../public/hashing/hashers/crc32.cpp',
'../public/hashing/hashers/md5.cpp',
'../public/hashing/hashers/sha1.cpp',
'../public/hashing/hashers/sha256.cpp',
'../public/hashing/hashers/sha3.cpp',
'../public/hashing/hashers/keccak.cpp'
]
if builder.target_platform == 'windows':