From 15b0c0d32778f473a6095a1d313b2d39effcc7c7 Mon Sep 17 00:00:00 2001 From: "Dementiev, Roman" Date: Sun, 6 Oct 2024 09:13:42 +0200 Subject: [PATCH] use dynamic libasan on arch Linux Change-Id: I64c40700d62ebe39c9f47cf0ba384fa09f15bee5 --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b0b22152..115f0c72 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,6 +35,10 @@ if(NOT PCM_NO_ASAN) set(PCM_NO_STATIC_LIBASAN ON) message(STATUS "CentOS detected, using dynamic libasan") endif() + if(OS_ID STREQUAL "arch") + set(PCM_NO_STATIC_LIBASAN ON) + message(STATUS "arch Linux detected, using dynamic libasan") + endif() endif() if(UNIX) # LINUX, FREE_BSD, APPLE