Skip to content

Commit 1ebf16d

Browse files
committed
Add comments for Arch Linux
1 parent e9a9cfc commit 1ebf16d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ target_include_directories(
1111
"${CMAKE_CURRENT_SOURCE_DIR}/../include")
1212

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

0 commit comments

Comments
 (0)