[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Altering %{_libdir}



On Tue, 18 Apr 2006, Michael Schwendt wrote:

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}.

If the software uses hardcoded /usr/lib for its paths there's not much point in using %{_libdir} to begin with.

	- Panu -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]