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

Dan McGee dpmcgee at gmail.com
Thu Jun 26 23:54:36 EDT 2008


On Thu, Jun 26, 2008 at 10:34 PM, Allan McRae <allan at archlinux.org> wrote:
> 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 -- '{}' \;
> fi
>
> 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...

Maybe just to be sure, add a '! -type d' clause in its place?

-Dan




More information about the pacman-dev mailing list