]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Enable xattrs on Cygwin.
authorWayne Davison <wayne@opencoder.net>
Fri, 24 Jul 2020 18:38:14 +0000 (11:38 -0700)
committerWayne Davison <wayne@opencoder.net>
Fri, 24 Jul 2020 18:38:14 +0000 (11:38 -0700)
- Tweak configure.ac to have Cygwin use linux xattrs.
- Change CI setup to install attr packages on Cygwin.

[buildall]

.github/workflows/build.yml
configure.ac

index 541729453dec9c45f47fa3297e590704f33f2c27..e1d63d9902297e1cb49699d7dc4ee79b7a137c15 100644 (file)
@@ -89,7 +89,7 @@ jobs:
         args: install -y --no-progress cygwin cyg-get
     - name: prep
       run: |
-        cyg-get make autoconf automake gcc-core libssl-devel libzstd-devel liblz4-devel python3 python36-commonmark
+        cyg-get make autoconf automake gcc-core attr libattr-devel python3 python36-commonmark libzstd-devel liblz4-devel libssl-devel
         echo "::add-path::C:/tools/cygwin/bin"
     - name: configure
       run: bash -c './configure --disable-xxhash'
index d96369624faa26e8037ca1af7b2a7f7b8f865c67..ae6445d1216348f3e61aba28f3a98f03866ccdfe 100644 (file)
@@ -1290,7 +1290,7 @@ if test x"$enable_xattr_support" = x"no"; then
     AC_MSG_RESULT(no)
 else
     case "$host_os" in
-    *linux*|*netbsd*)
+    *linux*|*netbsd*|*cygwin*)
        AC_MSG_RESULT(Using Linux xattrs)
        AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs (or equivalent)])
        AC_DEFINE(SUPPORT_XATTRS, 1)