Skip to content

Commit

Permalink
Fix pthread_create dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rinon committed Aug 21, 2023
1 parent 9897239 commit cd8792a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions partition-alloc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ target_link_options(partition-alloc
PRIVATE
"-Wl,-z,now"
)

target_link_libraries(partition-alloc libia2)

0 comments on commit cd8792a

Please sign in to comment.