summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-01-15 07:17:03 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-01-15 07:17:03 +0000
commit85e2d7f946f4f2d6fcd6dbb89901924eda6b4950 (patch)
tree364c3f6d41a2d68f9bd26e1e6e069159a4300b01
parent759a63da6560b244d845505f81cf14fde89dbcc2 (diff)
gn build: Switch to using current_os in lib/Support/BUILD.gn.
Differential Revision: https://reviews.llvm.org/D56704
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
index 84ae80fbcfa..e17f2a38092 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" ]
}
}