Commit ac0f9b1f by Dirk Pranke Committed by Corentin Wallez

Add missing GN build dependency on -lrt for linux.

Without this fix, angle_end2end_tests links fine on Trusty but not on Precise or older versions of Linux (util/linux/LinuxTimer.cpp calls clock_gettime(), which is part of libc on newer versions of the OS but requires -lrt on older versions. GYP had the dependency specified but GN didn't). R=cwallez@chromium.org BUG=432959, 531296 Change-Id: I70e1f701d099f3ba72c7e5dfd7af6d47658ffad9 Reviewed-on: https://chromium-review.googlesource.com/312298Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 3fed4306
...@@ -379,6 +379,7 @@ static_library("angle_util") { ...@@ -379,6 +379,7 @@ static_library("angle_util") {
if (is_linux) { if (is_linux) {
sources += rebase_path(util_gypi.util_linux_sources, ".", "util") sources += rebase_path(util_gypi.util_linux_sources, ".", "util")
libs = [ "rt" ]
} }
if (is_mac) { if (is_mac) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment