diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-06-12 10:55:19 -0700 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2023-06-13 11:42:33 -0700 |
commit | 60b3300ed6d3ba2e7af4ddce55bd873b232d12ff (patch) | |
tree | ba13701d35bc1ec0f1b6f9bb7e0ee602c23a479e | |
parent | 4ba744b46cd6f4afacd626cfd12fdffe42e62388 (diff) | |
download | parted-60b3300ed6d3ba2e7af4ddce55bd873b232d12ff.tar.gz |
bug#64034: [PATCH] libparted: link libparted-fs-resize.so to libuuid
uuid_generate() is used in this library
Hence, add UUID_LIBS to libparted_fs_resize_la_LIBADD to avoid
"ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate"
This is uncovered by lld linker linking fatresize package
due to this linker defaulting to --no-allow-shlib-undefined.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
-rw-r--r-- | libparted/fs/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am index 41a60d9..7fa8d14 100644 --- a/libparted/fs/Makefile.am +++ b/libparted/fs/Makefile.am @@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \ EXTRA_DIST += fsresize.sym libparted_fs_resize_la_DEPENDENCIES = $(sym_file) +libparted_fs_resize_la_LIBADD = $(UUID_LIBS) libparted_fs_resize_la_SOURCES = \ r/filesys.c \ r/fat/bootsector.c \ |