Werner LEMBERG <wl@gnu.org> writes:
I've just tried to compile HarfBuzz as a 32bit library on my 64bit box for testing purposes. By default, this library uses .pc files (for pkg-config) to find libraries. One of them is zlib. However, openSuSE's 32bit package of zlib doesn't come with a proper 32bit `zlib.pc' file (to be installed into `/usr/lib/pkgconfig'); and it seems that basically all other 32bit library packages don't provide .pc files either...
Bug? Intention?
At first, I thought it a bug. But then reconsidered, ask yourself the following: when you have two *.pc files, one in /usr/lib/pkgconfig and another in /usr/lib64/pkgconfig, which file would PKG_CHECK_MODULE() macro refer to?
Yes, I've just now come to the same conclusion: pkg-config itself is buggy, since it doesn't support multiple architectures at the same time.
That's only the first step. You will get many more problems by the lack of multiarch support in header files (though zlib seems to be clean here). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org