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:
parent
1bca126e4c
commit
be392f9c9e
1 changed files with 2 additions and 0 deletions
2
xbps.sh
2
xbps.sh
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue