From 289b8130a26e8fefbbe267532628b6f46d5fcc14 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Oct 2008 06:31:40 +0200 Subject: [PATCH] If exists $wrksrc/ltmain.sh make libtool available. --HG-- extra : convert_revision : bacfefa0436ac6c61f7958ac5a81f67b0ce0ea72 --- xbps.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xbps.sh b/xbps.sh index d9b7ec47e6..bea87c406e 100755 --- a/xbps.sh +++ b/xbps.sh @@ -561,6 +561,11 @@ fixup_tmpl_libtool() # we use the master directory while relinking, all will be fine # once the package is stowned. # + if [ -f $wrksrc/ltmain.sh ]; then + $rm_cmd -f $wrksrc/libtool + $ln_cmd -s $XBPS_MASTERDIR/bin/libtool $wrksrc/libtool + fi + for f in $($find_cmd $wrksrc -type f -name libtool\*); do if [ -f $f ]; then $rm_cmd -f $f