| Index: tools/fuchsia_link.py
|
| diff --git a/tools/fuchsia_link.py b/tools/fuchsia_link.py
|
| index c3c537b6b55af02dc0346a999c55a6a0a164a4b2..74936b051aff2357247648b50ee3ca4c510f54b7 100755
|
| --- a/tools/fuchsia_link.py
|
| +++ b/tools/fuchsia_link.py
|
| @@ -105,8 +105,8 @@ def main():
|
|
|
| if link_target == 'target':
|
| # Add and remove libraries as listed in configurations_fuchsia.gypi
|
| - libs_to_rm = ['-lrt', '-lpthread', '-ldl']
|
| - libs_to_add = [fuchsia_libgcc, '-lc',]
|
| + libs_to_rm = ['-lrt', '-lpthread']
|
| + libs_to_add = [fuchsia_libgcc, '-lc', '-ldl', '-lm']
|
|
|
| # Add crtn_fuchsia to end if we are linking an executable.
|
| if link_type == 'executable':
|
|
|