Index: gyp/nanomsg.gyp |
diff --git a/gyp/nanomsg.gyp b/gyp/nanomsg.gyp |
index 1a88c4a719f48743b910f531f00c529c1ed4ca7b..eeb64cd5dd018e9e9c44bad57e3ff98be7eaf776 100644 |
--- a/gyp/nanomsg.gyp |
+++ b/gyp/nanomsg.gyp |
@@ -115,9 +115,12 @@ |
'conditions': [ |
['skia_os == "linux"', { |
'cflags': [ '-Wno-missing-field-initializers' ], |
- 'libraries': [ '-lanl' ], # Provides getaddrinfo_a and co. |
+ 'libraries': [ |
+ '-lpthread', |
+ '-lanl', # Provides getaddrinfo_a and co. |
+ ], |
'direct_dependent_settings': { |
- 'libraries': [ '-lanl' ], |
+ 'libraries': [ '-lpthread', '-lanl' ], |
}, |
'defines=': [ # equals sign throws away most Skia defines (just noise) |
'HAVE_ACCEPT4', |