From a22ebe483b8755c1bda4aecdf0e875424d994392 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 llvm-svn: 351166 --- llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn index 84ae80f..e17f2a3 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn +++ b/llvm/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.7.4