From: bmeurer@chromium.org Date: Wed, 28 Aug 2013 14:11:07 +0000 (+0000) Subject: Cross-compiling from Linux to Android requires -lrt for the host toolset. X-Git-Tag: upstream/4.7.83~12768 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc09ddcb9d8d304296039d48f2e81c533499186a;p=platform%2Fupstream%2Fv8.git Cross-compiling from Linux to Android requires -lrt for the host toolset. R=yurys@chromium.org Review URL: https://codereview.chromium.org/23656004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16402 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp index 384f451..708defe 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' ]