[th] multilib libtool sparc (było: Re: [th] acl & multilib)

Jakub Bogusz qboosh at pld-linux.org
Mon Feb 12 22:03:31 CET 2007


On Mon, Feb 12, 2007 at 09:55:43PM +0100, Tomasz Mateja wrote:
> tu chyba bruździ:
> [root at pldmachine SRPMS]# /usr/bin/gpg-error-config --libs
> -L/usr/lib64 -lgpg-error

Najprawdopodobniej.

> Tylko jak to pogodzić...

Wyciąć to domyślne -L.
W tym skrypcie jest coś takiego:

#v+
        --libs)
            if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
                output="$output -L$libdir"
            fi
#v-

I trzeba tu s,/lib,/%{_lib}, - wtedy skrypty z obu architektur będą dobre
(tzn. niepsujące).


-- 
Jakub Bogusz    http://qboosh.pl/



More information about the pld-devel-pl mailing list