Index: llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn =================================================================== --- llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn +++ llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn @@ -155,7 +155,7 @@ libs = [] - if (host_os == "linux") { + if (current_os == "linux" || current_os == "android") { libs += [ "dl" ] } }