[llvm] r270605 - Add libxar to LLVM_SYSTEM_LIBS if available
Kevin Enderby via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 13:28:13 PDT 2016
Thanks Chris!
> On May 24, 2016, at 1:19 PM, Chris Bieneman via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> Author: cbieneman
> Date: Tue May 24 15:19:05 2016
> New Revision: 270605
>
> URL: http://llvm.org/viewvc/llvm-project?rev=270605&view=rev
> Log:
> Add libxar to LLVM_SYSTEM_LIBS if available
>
> This should fix PR27855. We have some terrible hacks in the CMake to add linking SYSTEM_LIBS to all tools. I think we need a better way to do this in the future.
>
> Modified:
> llvm/trunk/lib/Support/CMakeLists.txt
>
> Modified: llvm/trunk/lib/Support/CMakeLists.txt
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CMakeLists.txt?rev=270605&r1=270604&r2=270605&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Support/CMakeLists.txt (original)
> +++ llvm/trunk/lib/Support/CMakeLists.txt Tue May 24 15:19:05 2016
> @@ -24,6 +24,9 @@ elseif( CMAKE_HOST_UNIX )
> if( UNIX AND NOT (BEOS OR HAIKU) )
> set(system_libs ${system_libs} m)
> endif()
> + if(HAVE_LIBXAR)
> + list(APPEND system_libs ${XAR_LIB})
> + endif()
> endif( MSVC OR MINGW )
>
> add_llvm_library(LLVMSupport
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list