diff --git a/xbps.sh b/xbps.sh index 2328c4f8c2a..99dcb29ac66 100755 --- a/xbps.sh +++ b/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. #