aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/fluentbit/fluentbit/0002-chunkio-Link-with-fts-library-with-musl.patch
blob: 4ffb20d9ca153ecac7174cb33403166a43b2d743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 63dbbad5978e5f5b0e7d42614999cb6b4ebcce10 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 10 Aug 2022 01:27:16 -0700
Subject: [PATCH 2/2] chunkio: Link with fts library with musl

Fixes
cio_utils.c:(.text+0x64): undefined reference to `fts_read'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 lib/chunkio/src/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/chunkio/src/CMakeLists.txt b/lib/chunkio/src/CMakeLists.txt
index a4fc2d3..4244eb8 100644
--- a/lib/chunkio/src/CMakeLists.txt
+++ b/lib/chunkio/src/CMakeLists.txt
@@ -13,6 +13,7 @@ set(src
   )
 
 set(libs cio-crc32)
+set(libs ${libs} fts)
 
 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
   set(src
-- 
2.37.1