hooks/musl-override: also override config.sub if build_style is unset.
This commit is contained in:
parent
af5039f21b
commit
c29cfb8eac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue