blob: d61ae313bff647a8b1dbb6bd74c1dc068d0d1088 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 81ea117e0396274808a77d40bf11af44ea047285 Mon Sep 17 00:00:00 2001
2From: Rosen Penev <rosenp@gmail.com>
3Date: Mon, 23 Sep 2024 12:01:40 +0200
4Subject: [PATCH] pkgconfig: adjust for static libraries
5
6OpenWrt builds only static libuuid for tools. Adjust the pkgconfig file
7accordingly.
8
9Addresses: https://github.com/util-linux/util-linux/issues/3210
10Signed-off-by: Rosen Penev <rosenp@gmail.com>
11---
12 libuuid/uuid.pc.in | 2 +-
13 1 file changed, 1 insertions(+), 2 deletions(-)
14
15--- a/libuuid/uuid.pc.in
16+++ b/libuuid/uuid.pc.in
17@@ -6,6 +6,5 @@ includedir=@includedir@
18 Name: uuid
19 Description: Universally unique id library
20 Version: @LIBUUID_VERSION@
21-Requires:
22 Cflags: -I${includedir}/uuid
23-Libs: -L${libdir} -luuid
24+Libs: -L${libdir} -luuid -lpthread