add code comment about curl [skip ci]

This commit is contained in:
Dane Springmeyer 2014-04-09 09:44:43 -04:00
parent 1dd481f8f7
commit ecbba52bc0

View file

@ -45,6 +45,9 @@ if env['RUNTIME_LINK'] == 'static':
try:
plugin_env.ParseConfig(cmd)
except OSError, e:
# if this fails likely only system curl is available
# on OS X at least the system curl lacks a pkg-config file
# so static linking is not viable anyway
plugin_env.Append(LIBS='curl')
else:
plugin_env.Append(LIBS='curl')