From: Peter Collingbourne Date: Tue, 15 Jan 2019 07:17:03 +0000 (+0000) Subject: gn build: Switch to using current_os in lib/Support/BUILD.gn. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98e46e129e253a667ca2a8fac87e5f0c47ebd799;p=llvm 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 --- 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" ] } }