Hi richy,

On Wed, Jan 01, 2020 at 09:58:20PM +0100, Richard B. Kreckel wrote:
> Hmmm, I have a question: Wouldn't it be more consistent to set $(libdir)
> to /usr/lib/<triplet>/, so the library files are installed there, too,
> not in /usr/lib/?

Yes. I often opt for moving all components to the multiarch libdir.
However in the case of cln, the comment in debian/rules line 70 made me
not go that route:

# This installs into libdir, but we must not set libdir because it affects the 
.la file:

Maybe I didn't properly understand the comment, but it seemed as if we
shouldn't pass --libdir. If that actually works, it should be preferred.
It might even allow marking some packages Multi-Arch: same.

This bug is only concerned with the location of the .pc file though. It
can be solved by only moving it or by moving all files. Whatever suits
you best. I chose the minimally invasive route, because I feared
introducing a regression, but as you figured it adds complexity on its
own.

Helmut

Reply via email to