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

Re: Multi-arch header conflict and pkg-config



Hi Gianfranco,

On Tuesday, 24 October 2017 1:49 AM, Gianfranco Costamagna wrote:
>> pkg-config --cflags also just outputs -I/usr/include/<package>.
>> Does pkgconfig support multiple paths like this?
> add the triplet to your .pc shipped file
> /usr/lib/x86_64-linux-gnu/pkgconfig/python-3.6m.pc:Cflags: -I${includedir}/python3.6m -I${includedir}/x86_64-linux-gnu/python3.6m

> Other programs do this too, so with some sort of patch this should be possible
> (they are sometimes created during build, otherwise you will need some sed during install or similar

Many thanks for this advice. Using sed to handle the substitution works perfectly.  :-)

--
Hugh McMaster

Reply to: