[pacman-dev] Dangling symlink to libtool file - Was: Re: [arch-dev-public] signoff: xfsprogs 2.9.8-1 for i686

Allan McRae allan at archlinux.org
Thu Jun 26 23:34:26 EDT 2008

Allan McRae wrote:
> Eric Belanger wrote:
>> Although the '!libtool' option is used, there is a libtool file in the 
>> package: lib/libhandle.la
>> I'm guessing that makepkg doesn't search /lib for libtool files so it 
>> needs to be manually removed. Of course, I assume that it's not needed.
> That is actually a dangling symlink to the actual libtool file which was 
> removed.  Sending to pacman-dev so this can be fixed.

if [ "$(check_option libtool)" = "n" ]; then
    msg2 "$(gettext "Removing libtool .la files...")"
    find . -type f -name "*.la" -exec rm -f -- '{}' \;

Can we just remove "-type f" from the find statement?  I haven't come up 
with a problem in my two minutes of thought on the issue...


More information about the pacman-dev mailing list