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

Re: devel files and libraries in /lib

* Andreas Metzler <ametzler@downhill.at.eu.org> schrieb:

> in a nutshell: I doubt anybody who has the knowledge to fix it cares,
> and there is more to it than a
> --with-stuff-usually-in-libdir-but-we-want-it-below-urs=/usr/lib.
> Installing it there is simple, making use of the installed files is not.

Another solution would be splitting the package into several ones,
so each of these new packages has exactly one libdir, one of them
would be configured w/ --libdir=/lib and another w/ --libdir=/usr/lib.

They keyword is: modularization ;-p
Well, tell that folks like coreutils devs and see what happens,
they'll chase you up a tree and burn it ;-o

> Have you ever written a pkgconfig file that properly handles the use case
> where the static library lives lives in a different directory than the
> dynamic one? (And don't limit yourself to directories in the linker
> search path.)

Simple: take different .pc files for static vs. dynamic.

BTW: what exactly do you need it for ?

 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme

Reply to: