Only add -lrt on Linux, not on Mac

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45603 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
johnmccutchan@google.com 2015-05-07 17:40:01 +00:00
parent b5336c5726
commit 655545c881

View file

@ -8,10 +8,11 @@ config("libdart_vm_config") {
]
if (!is_android) {
libs += [
"pthread",
"rt",
]
libs += [ "pthread" ]
if (is_linux) {
libs += [ "rt" ]
}
}
}