Link against librt on solaris for semaphore and scheduler symbols
authorjochen@chromium.org <jochen@chromium.org>
Wed, 12 Nov 2014 14:47:49 +0000 (14:47 +0000)
committerjochen@chromium.org <jochen@chromium.org>
Wed, 12 Nov 2014 14:48:23 +0000 (14:48 +0000)
BUG=v8:3358
R=svenpanne@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/722673002

Cr-Commit-Position: refs/heads/master@{#25299}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/gyp/v8.gyp

index fb054e6..9c7fd7d 100644 (file)
         ['OS=="solaris"', {
             'link_settings': {
               'libraries': [
-                '-lnsl',
+                '-lnsl -lrt',
             ]},
             'sources': [
               '../../src/base/platform/platform-solaris.cc',