Fix libcurl compile error.
This commit is contained in:
parent
9659340d7f
commit
9b65900df0
@ -22,7 +22,7 @@ def BuildCURL():
|
|||||||
if AMBuild.target['platform'] == 'darwin':
|
if AMBuild.target['platform'] == 'darwin':
|
||||||
env['LDFLAGS'] = '-mmacosx-version-min=10.5'
|
env['LDFLAGS'] = '-mmacosx-version-min=10.5'
|
||||||
else:
|
else:
|
||||||
env['CFLAGS'] += ' -D_GNU_SOURCE'
|
env['CPPFLAGS'] += ' -D_GNU_SOURCE'
|
||||||
curl.AddCommand(command.DirectCommand(argv = args, env = env))
|
curl.AddCommand(command.DirectCommand(argv = args, env = env))
|
||||||
curl.AddCommand(command.ShellCommand('cd lib && make'))
|
curl.AddCommand(command.ShellCommand('cd lib && make'))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user