diff options
| author | Rosen Penev | 2024-09-24 20:30:20 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-09-26 09:08:23 +0000 |
| commit | 9567dbe3a12b964ff9d29a83f443c6e804640083 (patch) | |
| tree | 90d3a33d0d63b6e84dc797e1c9d841fb5ce3d700 | |
| parent | 774badd8a840be9888583266e12ba9d267201ee9 (diff) | |
| download | openwrt-9567dbe3a12b964ff9d29a83f443c6e804640083.tar.gz | |
tools: util-linux: fix static libuuid pkgconf
Fixes uuid.pc usage on hosts with an older glibc.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16480
Link: https://github.com/openwrt/openwrt/pull/16480
Link: https://github.com/openwrt/openwrt/pull/16480
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | tools/util-linux/patches/110-pkgconfig-static.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/util-linux/patches/110-pkgconfig-static.patch b/tools/util-linux/patches/110-pkgconfig-static.patch new file mode 100644 index 0000000000..d61ae313bf --- /dev/null +++ b/tools/util-linux/patches/110-pkgconfig-static.patch @@ -0,0 +1,24 @@ +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 |