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" ] } }