Files
openwrt-master/tools/util-linux/patches/110-pkgconfig-static.patch
domenico c06fb25d1f
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Initial commit
2025-06-24 14:35:53 +02:00

25 lines
757 B
Diff

From 81ea117e0396274808a77d40bf11af44ea047285 Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Mon, 23 Sep 2024 12:01:40 +0200
Subject: [PATCH] pkgconfig: adjust for static libraries
OpenWrt builds only static libuuid for tools. Adjust the pkgconfig file
accordingly.
Addresses: https://github.com/util-linux/util-linux/issues/3210
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
libuuid/uuid.pc.in | 2 +-
1 file changed, 1 insertions(+), 2 deletions(-)
--- a/libuuid/uuid.pc.in
+++ b/libuuid/uuid.pc.in
@@ -6,6 +6,5 @@ includedir=@includedir@
Name: uuid
Description: Universally unique id library
Version: @LIBUUID_VERSION@
-Requires:
Cflags: -I${includedir}/uuid
-Libs: -L${libdir} -luuid
+Libs: -L${libdir} -luuid -lpthread