b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From 81ea117e0396274808a77d40bf11af44ea047285 Mon Sep 17 00:00:00 2001 |
| 2 | From: Rosen Penev <rosenp@gmail.com> |
| 3 | Date: Mon, 23 Sep 2024 12:01:40 +0200 |
| 4 | Subject: [PATCH] pkgconfig: adjust for static libraries |
| 5 | |
| 6 | OpenWrt builds only static libuuid for tools. Adjust the pkgconfig file |
| 7 | accordingly. |
| 8 | |
| 9 | Addresses: https://github.com/util-linux/util-linux/issues/3210 |
| 10 | Signed-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 |