Reviewers: machenbach,
Message:
Hey Michael,
Here's a build fix for the android cross-compiler. PTAL
-- Benedikt
Description:
Cross-compiling from Linux to Android requires -lrt for the host toolset.
Please review this at https://codereview.chromium.org/23656004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M tools/gyp/v8.gyp
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index
384f451df77c30ede1b0bfea330dd82a257f9c50..708defed9bea6bfbd35f53b4c2722b619426d671
100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -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.