mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-14 15:05:34 +02:00
- fixed build issue on Solaris (wrong compilation flags for multi-threading)
- fixed build issue on Linux redhat 3: python does not has tarfile module
This commit is contained in:
@@ -167,12 +167,13 @@ def generate(env):
|
||||
## scan_check = DoxySourceScanCheck,
|
||||
## )
|
||||
|
||||
srcdist_builder = targz.makeBuilder( srcDistEmitter )
|
||||
if targz.exists(env):
|
||||
srcdist_builder = targz.makeBuilder( srcDistEmitter )
|
||||
|
||||
env['BUILDERS']['SrcDist'] = srcdist_builder
|
||||
env['BUILDERS']['SrcDist'] = srcdist_builder
|
||||
|
||||
def exists(env):
|
||||
"""
|
||||
Make sure srcdist exists.
|
||||
"""
|
||||
return True
|
||||
return targz.exists(env)
|
||||
|
Reference in New Issue
Block a user