From 98e46e129e253a667ca2a8fac87e5f0c47ebd799 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 15 Jan 2019 07:17:03 +0000 Subject: [PATCH] gn build: Switch to using current_os in lib/Support/BUILD.gn. Differential Revision: https://reviews.llvm.org/D56704 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351166 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/gn/secondary/llvm/lib/Support/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gn/secondary/llvm/lib/Support/BUILD.gn b/utils/gn/secondary/llvm/lib/Support/BUILD.gn index 84ae80fbcfa..e17f2a38092 100644 --- a/utils/gn/secondary/llvm/lib/Support/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Support/BUILD.gn @@ -155,7 +155,7 @@ static_library("Support") { libs = [] - if (host_os == "linux") { + if (current_os == "linux" || current_os == "android") { libs += [ "dl" ] } } -- 2.50.1