From be392f9c9e7a8ebcb1646518733a9a3e41f26298 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 25 Oct 2008 04:57:53 +0200 Subject: [PATCH] Do not run fixup_la_files() if there's no libtool or ltmain.sh in wrksrc. --HG-- extra : convert_revision : b58add2a00c9b36a3f389a3a3ed4f1956ec34b5c --- xbps.sh | 2 ++ 1 file changed, 2 insertions(+) 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. #