Do not run fixup_la_files() if there's no libtool or ltmain.sh in

wrksrc.

--HG--
extra : convert_revision : b58add2a00c9b36a3f389a3a3ed4f1956ec34b5c
This commit is contained in:
Juan RP 2008-10-25 04:57:53 +02:00
parent 1bca126e4c
commit be392f9c9e

View file

@ -550,6 +550,8 @@ fixup_la_files()
# If we are being invoked by a chroot, don't transform stuff.
[ "$XBPS_MASTERDIR" = "/" ] && return 0
[ ! -f "$wrksrc/libtool" -o ! -f "$wrksrc/ltmain.sh" ] && return 0
#
# Replace hardcoded or incorrect paths with correct ones.
#