From cd8792a90fb9ff487dbf725376ea41239e5d7ef1 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Tue, 1 Aug 2023 15:30:24 -0700 Subject: [PATCH] Fix pthread_create dependency partition-alloc depends on pthread_create, which we wrap in libia2. We need to make sure that we depend on libia2 to pick this up so that we don't end up depending on a different version of the wrapper function. --- partition-alloc/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/partition-alloc/CMakeLists.txt b/partition-alloc/CMakeLists.txt index 80bd4b91e6..d5803dff59 100644 --- a/partition-alloc/CMakeLists.txt +++ b/partition-alloc/CMakeLists.txt @@ -82,3 +82,5 @@ target_link_options(partition-alloc PRIVATE "-Wl,-z,now" ) + +target_link_libraries(partition-alloc libia2)