Re: Altering %{_libdir}

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

 



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 -

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux