110-pkgconfig-static.patch 757 B

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