Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
Re: [opensuse-buildservice] x86_64 build issues
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Tue, 13 Feb 2007 12:30:27 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0702131229370.16306@xxxxxxxxxxxxxxxxx>
On Tue, 13 Feb 2007, Andrew Wafaa wrote:

> >Use:
> >
> >%files -n lib%{name}
> >%defattr(-,root,root,0755)
> >%{_libdir}/libbongo*
> >
> >And use %configure or ./configure .... --libdir=%_libdir
>
> How would I differentiate the two architectures using this method? Is
> it a matter of putting the %ifarch statement around the %_libdir
> statement?

%_libdir is lib64 for x86_64 and lib for i586. So you need no %ifarch at
all.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References