[PATCH] D56704: gn build: Switch to using current_os in lib/Support/BUILD.gn.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 23:21:05 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL351166: gn build: Switch to using current_os in lib/Support/BUILD.gn. (authored by pcc, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D56704?vs=181716&id=181728#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56704/new/
https://reviews.llvm.org/D56704
Files:
llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Index: llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/Support/BUILD.gn
+++ llvm/trunk/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" ]
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56704.181728.patch
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190115/282ebce2/attachment.bin>
More information about the llvm-commits
mailing list