aurora/build_files/base/18-workarounds.sh

9 lines
233 B
Bash
Raw Normal View History

#!/bin/sh
set -eoux pipefail
# alternatives cannot create symlinks on its own during a container build
if [[ -f /usr/bin/ld.bfd ]]; then
ln -sf /usr/bin/ld.bfd /etc/alternatives/ld && ln -sf /etc/alternatives/ld /usr/bin/ld
fi