Skip to content

Commit

Permalink
Add comments for Arch Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
banach-space committed Jul 28, 2024
1 parent e9a9cfc commit 1ebf16d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ target_include_directories(
"${CMAKE_CURRENT_SOURCE_DIR}/../include")

if(UNIX AND EXISTS "/etc/arch-release")
# LLVM is built as shared library on Arch Linux (*), so we need to link the
# static executable against libLLVM.so. See #117
# (*) https://gitlab.archlinux.org/archlinux/packaging/packages/llvm/-/blob/main/PKGBUILD?ref_type=heads#L89
message("LLVM is installed as shared library on Arch Linux")
target_link_libraries(static LLVM)
else()
Expand Down

0 comments on commit 1ebf16d

Please sign in to comment.