All of lore.kernel.org
 help / color / mirror / Atom feed
* Preferred handling of pkg-config in cross compile environments.
@ 2010-10-10 17:05 Paul Menzel
  2010-10-10 17:09 ` Chris Larson
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Menzel @ 2010-10-10 17:05 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

Dear OE folks,


I stumbled upon several programs who call plain `pkg-config` [1][2].

Is the following statement correct?

To be able to cross compile programs correctly, the build files are
supposed to use the environment variable `PKG_CONFIG` and only call
pkg-config directly if `PKG_CONFIG` is empty.

        if test -z "${PKG_CONFIG}"; then
            PKG_CONFIG="pkg-config"

If you agree I would note that somewhere in the Wiki, so that upstream
can be pointed to some documentation and search the Web will result in
some useful results.


Thanks,

Paul


[1] http://git.gnome.org/browse/gobject-introspection/tree/gir/Makefile.am?id=b89a110fdd9f6a0c4c0291a6016cb154bb715b0a

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-11 19:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-10 17:05 Preferred handling of pkg-config in cross compile environments Paul Menzel
2010-10-10 17:09 ` Chris Larson
2010-10-10 17:38   ` Paul Menzel
2010-10-10 18:11     ` Chris Larson
2010-10-10 18:36       ` Paul Menzel
2010-10-10 22:16       ` gobject-introspection: pkg-config does not honor `PKG_CONFIG_SYSROOT_DIR` (was: Preferred handling of pkg-config in cross compile environments.) Paul Menzel
2010-10-10 22:47         ` Frederik Sdun
2010-10-10 23:02           ` gobject-introspection: pkg-config does not pick correct paths (was: pkg-config does not honor `PKG_CONFIG_SYSROOT_DIR`) Paul Menzel
2010-10-11  1:35             ` Frederik Sdun
2010-10-11 19:34               ` Frederik Sdun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.