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

Re: ${lib}-dev, .pc and pkg-config


Am Freitag, 21. Januar 2005 12:08 schrieb Artur R. Czechowski:

> pkg-config. It gives standarized interface[1] for getting compiler and

> linker flags. What is your recomendation for adding a .pc files in -dev

> package? What is your recomendation for using pkg-config in packages

> dependend on specific -dev package?

> Should be a .pc file provided in any case? Or only when library required

> additional -I or -L flags for compiling/linking?

I would add it neverthless. For example, when I write the configure checks for using system libs in OOo I simply use PKG_CHECK_MODULES(...) if it's there. Not packaging the .pc if it exists upstream would break them.

If upstream hasn't one, well, if there's no -I and -L needed I don't see the point but when theer is either of them needed I would create one if there isn't already one or the old-style foo-config's...





/@ alf~-. René Engelhard

\/ __ .- | SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nürnberg

// // @ rengelhard@suse.de / Tel: +49-911-740 53 - 629

Reply to: