[Pkg-postgresql-public] [Branch ~pitti/postgresql/common] Rev 1114: pg_wrapper: Restrict libreadline multiarch matching to native architecture

Martin Pitt mpitt at debian.org
Fri Oct 7 16:08:46 UTC 2011


Christoph Berg [2011-10-07 18:02 +0200]:
> > -    push @readlines, sort(</lib/*/libreadline.so.*>);
> > +    my $arch = (POSIX::uname)[4];
> > +    push @readlines, sort(</lib/$arch-*/libreadline.so.*>);
> >      push @readlines, sort(</lib/libreadline.so.*>);
> 
> Sorry, me again... uname[4] is i686 on Debian's i386. (* was probably
> fine...)

Argh, sorry.. Is there *any way* of figuring out this damn arch triple
that doesn't involve dpkg-dev?

Any hint appreciated,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Pkg-postgresql-public mailing list