Revision: 16402
Author:   [email protected]
Date:     Wed Aug 28 14:11:07 2013 UTC
Log: Cross-compiling from Linux to Android requires -lrt for the host toolset.

[email protected]

Review URL: https://codereview.chromium.org/23656004
http://code.google.com/p/v8/source/detail?r=16402

Modified:
 /branches/bleeding_edge/tools/gyp/v8.gyp

=======================================
--- /branches/bleeding_edge/tools/gyp/v8.gyp    Wed Aug 28 13:03:06 2013 UTC
+++ /branches/bleeding_edge/tools/gyp/v8.gyp    Wed Aug 28 14:11:07 2013 UTC
@@ -722,6 +722,15 @@
                   }],
                 ],
               }, {
+                'link_settings': {
+                  'target_conditions': [
+                    ['_toolset=="host"', {
+                      'libraries': [
+                        '-lrt'
+                      ]
+                    }]
+                  ]
+                },
                 'sources': [
                   '../../src/platform-linux.cc'
                 ]

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to