mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
parted: Add missing libuuid to linker cmdline for libparted-fs-resize.so
(From OE-Core rev: 493b6a17ede8033be11eb61aef347f6f5df42f7d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
From 1fc88332f7e906294fd889287b9e84cefc7f1586 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Mon, 12 Jun 2023 10:40:07 -0700
|
||||||
|
Subject: [PATCH] fs: Add libuuid to linker flags for libparted-fs-resize
|
||||||
|
library
|
||||||
|
|
||||||
|
This library uses uuid_generate function which comes from libuuid and
|
||||||
|
hence it should be mentioned on linker cmdline
|
||||||
|
|
||||||
|
fixes
|
||||||
|
| aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate
|
||||||
|
| >>> 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
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://alioth-lists.debian.net/pipermail/parted-devel/2023-June/005873.html]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
libparted/fs/Makefile.am | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
|
||||||
|
index 2f345f3..a8970eb 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 \
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
||||||
@@ -8,6 +8,7 @@ DEPENDS = "ncurses util-linux virtual/libiconv"
|
|||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
|
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
|
||||||
file://fix-doc-mandir.patch \
|
file://fix-doc-mandir.patch \
|
||||||
|
file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user