Index: tools/gyp/v8.gyp |
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp |
index a1134f0411826ee11ea1de3cde00a376bc4cb135..426906cf1ca4d260c3f69557e5ff49fe556d2328 100644 |
--- a/tools/gyp/v8.gyp |
+++ b/tools/gyp/v8.gyp |
@@ -806,6 +806,43 @@ |
], |
}, |
], |
+ ['OS=="qnx"', { |
+ 'link_settings': { |
+ 'target_conditions': [ |
+ ['_toolset=="host" and host_os=="linux"', { |
+ 'libraries': [ |
+ '-lrt' |
+ ], |
+ }], |
+ ['_toolset=="target"', { |
+ 'libraries': [ |
+ '-lbacktrace', '-lsocket' |
+ ], |
+ }], |
+ ], |
+ }, |
+ 'sources': [ |
+ '../../src/platform-posix.cc', |
+ ], |
+ 'target_conditions': [ |
+ ['_toolset=="host" and host_os=="linux"', { |
+ 'sources': [ |
+ '../../src/platform-linux.cc' |
+ ], |
+ }], |
+ ['_toolset=="host" and host_os=="mac"', { |
+ 'sources': [ |
+ '../../src/platform-macos.cc' |
+ ], |
+ }], |
+ ['_toolset=="target"', { |
+ 'sources': [ |
+ '../../src/platform-qnx.cc' |
+ ], |
+ }], |
+ ], |
+ }, |
+ ], |
['OS=="freebsd"', { |
'link_settings': { |
'libraries': [ |