summaryrefslogtreecommitdiff
path: root/src/third_party/zlib-1.2.13/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/zlib-1.2.13/SConscript')
-rw-r--r--src/third_party/zlib-1.2.13/SConscript30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/third_party/zlib-1.2.13/SConscript b/src/third_party/zlib-1.2.13/SConscript
new file mode 100644
index 00000000000..63edb796597
--- /dev/null
+++ b/src/third_party/zlib-1.2.13/SConscript
@@ -0,0 +1,30 @@
+# -*- mode: python; -*-
+# NOTE: This file is auto-generated by "zlib_get_sources.sh" - DO NOT EDIT
+
+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',
+ 'compress.c',
+ 'deflate.c',
+ 'infback.c',
+ 'inffast.c',
+ 'inflate.c',
+ 'inftrees.c',
+ 'trees.c',
+ 'uncompr.c',
+ 'zutil.c',
+ ],
+ LIBDEPS_TAGS=[
+ 'init-no-global-side-effects',
+ ],
+)