[PATCH] D47848: [Support] Link libzircon.so when building LLVM for Fuchsia
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 6 15:33:14 PDT 2018
phosek created this revision.
phosek added a reviewer: mcgrathr.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
This is necessary for zx_* symbols.
Repository:
rL LLVM
https://reviews.llvm.org/D47848
Files:
llvm/lib/Support/CMakeLists.txt
Index: llvm/lib/Support/CMakeLists.txt
===================================================================
--- llvm/lib/Support/CMakeLists.txt
+++ llvm/lib/Support/CMakeLists.txt
@@ -33,6 +33,9 @@
if( UNIX AND NOT (BEOS OR HAIKU) )
set(system_libs ${system_libs} m)
endif()
+ if( FUCHSIA )
+ set(system_libs ${system_libs} zircon)
+ endif()
endif( MSVC OR MINGW )
add_llvm_library(LLVMSupport
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47848.150209.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/c899ea87/attachment.bin>
More information about the llvm-commits
mailing list