If exists $wrksrc/ltmain.sh make libtool available.
--HG-- extra : convert_revision : bacfefa0436ac6c61f7958ac5a81f67b0ce0ea72
This commit is contained in:
parent
8729d8de2b
commit
289b8130a2
1 changed files with 5 additions and 0 deletions
5
xbps.sh
5
xbps.sh
|
@ -561,6 +561,11 @@ fixup_tmpl_libtool()
|
||||||
# we use the master directory while relinking, all will be fine
|
# we use the master directory while relinking, all will be fine
|
||||||
# once the package is stowned.
|
# 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
|
for f in $($find_cmd $wrksrc -type f -name libtool\*); do
|
||||||
if [ -f $f ]; then
|
if [ -f $f ]; then
|
||||||
$rm_cmd -f $f
|
$rm_cmd -f $f
|
||||||
|
|
Loading…
Reference in a new issue