mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
parted: Fix build with uclibc
unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv (From OE-Core rev: 16cce4f3fa8bc40d6ab9498aa1d837e2db267947) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
|
|||||||
LICENSE = "GPLv3+"
|
LICENSE = "GPLv3+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
|
||||||
SECTION = "console/tools"
|
SECTION = "console/tools"
|
||||||
DEPENDS = "ncurses readline util-linux"
|
DEPENDS = "ncurses readline util-linux virtual/libiconv"
|
||||||
PR = "r1"
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
|
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
|
||||||
@@ -21,6 +21,7 @@ SRC_URI[md5sum] = "0247b6a7b314f8edeb618159fa95f9cb"
|
|||||||
SRC_URI[sha256sum] = "858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4"
|
SRC_URI[sha256sum] = "858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4"
|
||||||
|
|
||||||
EXTRA_OECONF = "--disable-device-mapper"
|
EXTRA_OECONF = "--disable-device-mapper"
|
||||||
|
LDFLAGS_append_libc-uclibc = " -liconv "
|
||||||
|
|
||||||
inherit autotools pkgconfig gettext texinfo ptest
|
inherit autotools pkgconfig gettext texinfo ptest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user