# CGO_ENABLED=0 is what makes the arm64 package a plain cross-compile on the
# amd64 runner, and it leaves the binaries without a libc dependency.
edulution-fileproxy: statically-linked-binary [usr/bin/edulution-fileproxy]
edulution-fileproxy: statically-linked-binary [usr/bin/edulution-fileproxy-reindex]

# postinst hands the package's own directories back to root once, on an upgrade
# from a package built by the CI runner as UID 1001. Without -H or -L, chown -R
# changes a symlink itself rather than its target; the lifecycle test plants one.
edulution-fileproxy: recursive-privilege-change "chown -R" [postinst:*]
