hooks/musl-override: also override config.sub if build_style is unset.

This commit is contained in:
Juan RP 2014-12-28 09:09:31 +01:00
parent af5039f21b
commit c29cfb8eac

View file

@ -5,8 +5,8 @@ hook() {
*-musl);;
*) return 0;;
esac
if [ "$build_style" = "gnu-configure" ]; then
for f in $(find ${wrksrc} -type f -name *config*.sub); do
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
for f in $(find ${wrksrc} -type f -name "*config*.sub"); do
cp -f ${XBPS_CROSSPFDIR}/config.sub ${f}
done
fi