Keep one copy of zlib in the SourcePawn tree.
This commit is contained in:
@@ -46,6 +46,7 @@ compiler.includes += [
|
||||
os.path.join(builder.sourcePath, 'public', 'sourcepawn'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'compiler'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'include'),
|
||||
os.path.join(builder.sourcePath, 'sourcepawn', 'third_party'),
|
||||
os.path.join(builder.buildPath, 'includes'),
|
||||
os.path.join(builder.buildPath, builder.buildFolder),
|
||||
]
|
||||
@@ -98,19 +99,19 @@ binary.sources += [
|
||||
'sctracker.cpp',
|
||||
'scvars.cpp',
|
||||
'smx-builder.cpp',
|
||||
'zlib/adler32.c',
|
||||
'zlib/compress.c',
|
||||
'zlib/crc32.c',
|
||||
'zlib/deflate.c',
|
||||
'zlib/gzio.c',
|
||||
'zlib/infback.c',
|
||||
'zlib/inffast.c',
|
||||
'zlib/inflate.c',
|
||||
'zlib/inftrees.c',
|
||||
'zlib/trees.c',
|
||||
'zlib/uncompr.c',
|
||||
'zlib/zutil.c',
|
||||
'sp_symhash.cpp'
|
||||
'sp_symhash.cpp',
|
||||
'../third_party/zlib/adler32.c',
|
||||
'../third_party/zlib/compress.c',
|
||||
'../third_party/zlib/crc32.c',
|
||||
'../third_party/zlib/deflate.c',
|
||||
'../third_party/zlib/gzio.c',
|
||||
'../third_party/zlib/infback.c',
|
||||
'../third_party/zlib/inffast.c',
|
||||
'../third_party/zlib/inflate.c',
|
||||
'../third_party/zlib/inftrees.c',
|
||||
'../third_party/zlib/trees.c',
|
||||
'../third_party/zlib/uncompr.c',
|
||||
'../third_party/zlib/zutil.c',
|
||||
]
|
||||
if builder.target_platform != 'windows':
|
||||
binary.sources.append('binreloc.c')
|
||||
|
||||
Reference in New Issue
Block a user