gn build: Switch to using current_os in lib/Support/BUILD.gn.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 07:17:03 +0000 (07:17 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 07:17:03 +0000 (07:17 +0000)
Differential Revision: https://reviews.llvm.org/D56704

llvm-svn: 351166

llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn

index 84ae80f..e17f2a3 100644 (file)
@@ -155,7 +155,7 @@ static_library("Support") {
 
   libs = []
 
-  if (host_os == "linux") {
+  if (current_os == "linux" || current_os == "android") {
     libs += [ "dl" ]
   }
 }