Fix libcurl compile error.

This commit is contained in:
Asher Baker 2013-03-18 00:14:55 +00:00
parent 9659340d7f
commit 9b65900df0

View File

@ -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: