Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | Link atomic library to fix missing undefined referrences |
| 2 | like "undefined reference to `__atomic_fetch_add_8'" |
| 3 | |
| 4 | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> |
| 5 | |
| 6 | diff -Naur node-v10.15.1/deps/v8/gypfiles/v8.gyp node-v10.15.1/deps/v8/gypfiles/v8.gyp |
| 7 | --- node-v10.15.1/deps/v8/gypfiles/v8.gyp 2019-02-13 09:02:21.000000000 +0100 |
| 8 | +++ node-v10.15.1/deps/v8/gypfiles/v8.gyp 2019-02-15 21:27:11.755679660 +0100 |
| 9 | @@ -452,6 +452,11 @@ |
| 10 | '<(DEPTH)', |
| 11 | '<(SHARED_INTERMEDIATE_DIR)' |
| 12 | ], |
| 13 | + 'link_settings': { |
| 14 | + 'libraries': [ |
| 15 | + '-latomic' |
| 16 | + ], |
| 17 | + }, |
| 18 | 'sources': [ |
| 19 | '<@(inspector_all_sources)', |
| 20 | '../include//v8-inspector-protocol.h', |