Skip to content

Commit 0a804d9

Browse files
author
rtoslab
committed
add zlib.
1 parent 2e085ca commit 0a804d9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

SConscript

+18
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ src += Glob('fitz/*.c')
1010
src += Glob('pdf/*.c')
1111
src += Glob('xps/*.c')
1212

13+
# freetype
1314
src += Split('''
1415
thirdparty/freetype/src/base/ftbase.c \
1516
thirdparty/freetype/src/base/ftbbox.c \
@@ -42,6 +43,7 @@ src += Split('''
4243
thirdparty/freetype/src/winfonts/winfnt.c \
4344
''')
4445

46+
# jbig2dec
4547
src += Split('''
4648
thirdparty/jbig2dec/jbig2_arith.c \
4749
thirdparty/jbig2dec/jbig2_arith_int.c \
@@ -60,6 +62,7 @@ src += Split('''
6062
thirdparty/jbig2dec/jbig2.c \
6163
''')
6264

65+
# jpeg
6366
src += Split('''
6467
thirdparty/jpeg/jaricom.c \
6568
thirdparty/jpeg/jcomapi.c \
@@ -94,6 +97,7 @@ src += Split('''
9497
thirdparty/jpeg/jutils.c \
9598
''')
9699

100+
# openjpeg
97101
src += Split('''
98102
thirdparty/openjpeg/libopenjpeg/bio.c \
99103
thirdparty/openjpeg/libopenjpeg/cio.c \
@@ -120,6 +124,20 @@ src += Split('''
120124
thirdparty/openjpeg/libopenjpeg/tpix_manager.c \
121125
''')
122126

127+
# zlib
128+
src += Split('''
129+
thirdparty/zlib/adler32.c \
130+
thirdparty/zlib/compress.c \
131+
thirdparty/zlib/crc32.c \
132+
thirdparty/zlib/deflate.c \
133+
thirdparty/zlib/inffast.c \
134+
thirdparty/zlib/inflate.c \
135+
thirdparty/zlib/inftrees.c \
136+
thirdparty/zlib/trees.c \
137+
thirdparty/zlib/uncompr.c \
138+
thirdparty/zlib/zutil.c \
139+
''')
140+
123141
path = [cwd + '/']
124142
path += [cwd + '/fitz']
125143
path += [cwd + '/pdf']

0 commit comments

Comments
 (0)