Re: multiarch and pkg-config
Am Freitag 05 Februar 2010 09:04:45 schrieb Tollef Fog Heen:
> | #get the location of the .pc file
> | PC_NONOPTS=`echo $@ | sed -e 's/\(--[^ ]* \)*//g'`
> | PC_FILEDIR=`pkg-config --variable=pcfiledir "$PC_NONOPTS"`
> | PC_RESULT=$?
> | test "$PC_FILEDIR" || exit $PC_RESULT
> This one is not, it won't work at all.
It does, at least for my use-case of pkg-config.
Though I agree that this is not needed for you (only for relocation of
libraries). But still, one simple wrapper is enough to support multiarch