add code comment about curl [skip ci]
This commit is contained in:
parent
1dd481f8f7
commit
ecbba52bc0
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue