summaryrefslogtreecommitdiff
path: root/src/third_party/zlib-1.2.11/SConscript
blob: 8bdc06a2bb48a3597761d89192049a12cb557a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: python; -*-
Import("env")

env = env.Clone()
env.Append(CPPDEFINES=["HAVE_STDARG_H"])
if not env.TargetOSIs('windows'):
    env.Append(CPPDEFINES=["HAVE_UNISTD_H"])

env.Library(
    target="zlib",
    source=[
        'adler32.c',
        'crc32.c',
        'deflate.c',
        'infback.c',
        'inffast.c',
        'inflate.c',
        'inftrees.c',
        'trees.c',
        'zutil.c',
    ])