1From 63dbbad5978e5f5b0e7d42614999cb6b4ebcce10 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 10 Aug 2022 01:27:16 -0700
4Subject: [PATCH 2/2] chunkio: Link with fts library with musl
5
6Fixes
7cio_utils.c:(.text+0x64): undefined reference to `fts_read'
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 lib/chunkio/src/CMakeLists.txt | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/lib/chunkio/src/CMakeLists.txt b/lib/chunkio/src/CMakeLists.txt
17index a4fc2d3..4244eb8 100644
18--- a/lib/chunkio/src/CMakeLists.txt
19+++ b/lib/chunkio/src/CMakeLists.txt
20@@ -13,6 +13,7 @@ set(src
21   )
22
23 set(libs cio-crc32)
24+set(libs ${libs} fts)
25
26 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
27   set(src
28--
292.37.1
30
31