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