diff options
| -rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.1.2.bb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.1.2.bb b/meta/recipes-devtools/rsync/rsync_3.1.2.bb index 5f4733f7b7..4b91ac7774 100644 --- a/meta/recipes-devtools/rsync/rsync_3.1.2.bb +++ b/meta/recipes-devtools/rsync/rsync_3.1.2.bb | |||
| @@ -7,15 +7,14 @@ PACKAGECONFIG ??= "acl attr" | |||
| 7 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," | 7 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," |
| 8 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," | 8 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," |
| 9 | 9 | ||
| 10 | # By default, if crosscompiling, rsync disables a number of | ||
| 11 | # capabilities, hardlinking symlinks and special files (i.e. devices) | ||
| 12 | CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes" | ||
| 13 | |||
| 10 | # rsync 3.0 uses configure.sh instead of configure, and | 14 | # rsync 3.0 uses configure.sh instead of configure, and |
| 11 | # makefile checks the existence of configure.sh | 15 | # makefile checks the existence of configure.sh |
| 12 | do_configure_prepend () { | 16 | do_configure_prepend () { |
| 13 | rm -f ${S}/configure ${S}/configure.sh | 17 | rm -f ${S}/configure ${S}/configure.sh |
| 14 | |||
| 15 | # By default, if crosscompiling, rsync disables a number of | ||
| 16 | # capabilities, hardlinking symlinks and special files (i.e. devices) | ||
| 17 | export rsync_cv_can_hardlink_special=yes | ||
| 18 | export rsync_cv_can_hardlink_symlink=yes | ||
| 19 | } | 18 | } |
| 20 | 19 | ||
| 21 | do_configure_append () { | 20 | do_configure_append () { |
