Move Zlib and Hashing libs to third_party directory
This commit is contained in:
28
third_party/zlib/AMBuilder
vendored
Normal file
28
third_party/zlib/AMBuilder
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# vim: sts=2 ts=8 sw=2 tw=99 et ft=python:
|
||||
import os, platform
|
||||
|
||||
lib = builder.compiler.StaticLibrary('zlib')
|
||||
|
||||
lib.compiler.includes += [
|
||||
os.path.join(builder.sourcePath, 'third_party', 'zlib'),
|
||||
]
|
||||
|
||||
lib.sources += [
|
||||
'adler32.c',
|
||||
'compress.c',
|
||||
'crc32.c',
|
||||
'deflate.c',
|
||||
'gzclose.c',
|
||||
'gzlib.c',
|
||||
'gzread.c',
|
||||
'gzwrite.c',
|
||||
'infback.c',
|
||||
'inffast.c',
|
||||
'inflate.c',
|
||||
'inftrees.c',
|
||||
'trees.c',
|
||||
'uncompr.c',
|
||||
'zutil.c',
|
||||
]
|
||||
|
||||
rvalue = builder.Add(lib)
|
Reference in New Issue
Block a user