abinfo 'Fedora: Attaching `-z muldefs` to LDFLAGS ...'
# Workaround the enforcing multi definition check of GCC 10/11,
# and it need to be removed once upstream fixed the variable name.
export LDFLAGS="$LDFLAGS -z muldefs"

abinfo "Turning Python scripts to run with Python 3 ..."
for i in "$SRCDIR"/python/*.py ; do
    sed -e 's/env python2/python3/g' -i "$i"
done
