Fix issue when building on NixOS, firstly occured under commit 819a85ee

This commit is contained in:
vssukharev
2025-01-05 13:57:32 +02:00
committed by Christoffer Lerno
parent 07c59e6a6c
commit 4f0716ab13

View File

@@ -150,7 +150,7 @@ if(C3_WITH_LLVM)
endif()
endif()
if (NOT WIN32)
if (EXISTS /usr/lib)
# Some systems (such as Alpine Linux) seem to put some of the relevant
# LLVM files in /usr/lib, but this doesn't seem to be included in the
# value of LLVM_LIBRARY_DIRS.