3rdparty: bzip2: build with BZ_NO_STDIO
This commit is contained in:
parent
f5ae806b31
commit
97c75d96d5
1 changed files with 2 additions and 1 deletions
3
3rdparty/bzip2/wscript
vendored
3
3rdparty/bzip2/wscript
vendored
|
@ -6,6 +6,7 @@ def options(opt):
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.define('_GNU_SOURCE', 1)
|
conf.define('_GNU_SOURCE', 1)
|
||||||
|
conf.define('BZ_NO_STDIO', 1)
|
||||||
|
|
||||||
if conf.env.DEST_OS == 'win32':
|
if conf.env.DEST_OS == 'win32':
|
||||||
conf.define('BZ_LCCWIN32', 1)
|
conf.define('BZ_LCCWIN32', 1)
|
||||||
|
@ -25,7 +26,7 @@ def build(bld):
|
||||||
target = 'bzip2',
|
target = 'bzip2',
|
||||||
# use = 'bz_version.h',
|
# use = 'bz_version.h',
|
||||||
features = 'c',
|
features = 'c',
|
||||||
includes = ['bzip2/', '.'],
|
includes = ['.', 'bzip2/'],
|
||||||
subsystem = bld.env.MSVC_SUBSYSTEM,
|
subsystem = bld.env.MSVC_SUBSYSTEM,
|
||||||
export_includes = ['bzip2/']
|
export_includes = ['bzip2/']
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue