1From 1fc88332f7e906294fd889287b9e84cefc7f1586 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Mon, 12 Jun 2023 10:40:07 -0700 4Subject: [PATCH] fs: Add libuuid to linker flags for libparted-fs-resize 5 library 6 7This library uses uuid_generate function which comes from libuuid and 8hence it should be mentioned on linker cmdline 9 10fixes 11| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate 12| >>> referenced by /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/fatresize/1.1.0-r0/recipe-sysroot/usr/lib/libparted-fs-resize.so 13 14Upstream-Status: Submitted [https://alioth-lists.debian.net/pipermail/parted-devel/2023-June/005873.html] 15Signed-off-by: Khem Raj <raj.khem@gmail.com> 16--- 17 libparted/fs/Makefile.am | 1 + 18 1 file changed, 1 insertion(+) 19 20diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am 21index 2f345f3..a8970eb 100644 22--- a/libparted/fs/Makefile.am 23+++ b/libparted/fs/Makefile.am 24@@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \ 25 EXTRA_DIST += fsresize.sym 26 libparted_fs_resize_la_DEPENDENCIES = $(sym_file) 27 28+libparted_fs_resize_la_LIBADD = $(UUID_LIBS) 29 libparted_fs_resize_la_SOURCES = \ 30 r/filesys.c \ 31 r/fat/bootsector.c \ 32-- 332.41.0 34 35