[parted-devel] [PATCH] parted: link to libuuid

yegorslists at googlemail.com yegorslists at googlemail.com
Thu May 11 09:03:59 BST 2023


From: Yegor Yefremov <yegorslists at googlemail.com>

parted.c uses libuuid since 61b3a9733c0e0a79ccc43096642d378c8706add6.
Hence, add UUID_LIBS to PARTED_LIBS to avoid
"DSO missing from command line" error.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index cf9fb8a..aad833a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -298,6 +298,8 @@ Note: originally, libuuid was part of the e2fsprogs package.  Later, it
 moved to util-linux-ng-2.16, and that package is now the preferred source.])])
 AC_SUBST([UUID_LIBS])
 
+PARTED_LIBS="$UUID_LIBS"
+
 dnl Check for libdevmapper
 DM_LIBS=
 if test $ENABLE_DEVICE_MAPPER = yes; then
-- 
2.34.1




More information about the parted-devel mailing list