Altering %{_libdir}

Michael Schwendt bugs.michael at gmx.net
Tue Apr 18 10:11:56 UTC 2006


On Tue, 18 Apr 2006 10:09:13 +0100, PFJ wrote:

> Hi,
> 
> One of the problems of packaging for mono is that it expects libs et al
> to be in /usr/lib and not /usr/lib64. This causes lots of problems.
> 
> Is there a way to say in the spec something akin to
> 
> if %{_libdir} != '/usr/lib'
>   ${_libdir} = '/usr/lib';
> 
> Whenever I've tried to use --libdir inside of the CXX definition,
> something gets confused and the software refuses to build.

%define _libdir %{_prefix}/lib

would override the default %{_libdir}.




More information about the fedora-extras-list mailing list