mirror of
https://git.yoctoproject.org/poky
synced 2026-07-19 16:57:03 +00:00
b3269fc2e6
Add check_libattr.patch to version 3.1.0 recipe, which checks and includes libattr to linker, otherwise rsync may fail to build with linker error below (as -lattr option gets omitted): [..] lib/sysxattrs.o: undefined reference to symbol 'llistxattr@@ATTR_1.0' [..]/lib/libattr.so.1: error adding symbols: DSO missing from command line (From OE-Core rev: 576f63c50badd54b47cdda42a6466bb18984958d) Signed-off-by: Sergiy Kibrik <sakib@meta.ua> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
902 B
BlitzBasic
29 lines
902 B
BlitzBasic
require rsync.inc
|
|
|
|
|
|
SRC_URI += "file://acinclude.m4 \
|
|
file://check_libattr.patch"
|
|
|
|
SRC_URI[md5sum] = "3be148772a33224771a8d4d2a028b132"
|
|
SRC_URI[sha256sum] = "81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e"
|
|
|
|
PACKAGECONFIG ??= "acl attr"
|
|
PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
|
|
PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"
|
|
|
|
# rsync 3.0 uses configure.sh instead of configure, and
|
|
# makefile checks the existence of configure.sh
|
|
do_configure_prepend () {
|
|
rm -f ${S}/configure ${S}/configure.sh
|
|
cp -f ${WORKDIR}/acinclude.m4 ${S}/
|
|
|
|
# By default, if crosscompiling, rsync disables a number of
|
|
# capabilities, hardlinking symlinks and special files (i.e. devices)
|
|
export rsync_cv_can_hardlink_special=yes
|
|
export rsync_cv_can_hardlink_symlink=yes
|
|
}
|
|
|
|
do_configure_append () {
|
|
cp -f ${S}/configure ${S}/configure.sh
|
|
}
|