diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-02-25 18:16:56 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-02-25 18:16:56 +0000 |
commit | 2c8702d07b191e33a5dd7214d9e8be0d18652dec (patch) | |
tree | 4d69272f92d5c107f09de7160509aace65b3f742 | |
parent | 6f7f06856271cdd6a79708cbd878e6648e85a1be (diff) |
gtk-binver.bbclass: Use PKG_CONFIG_PATH to look for .pc.
* Closes #1909.
-rw-r--r-- | classes/gtk-binver.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/gtk-binver.bbclass b/classes/gtk-binver.bbclass index d59145e641..8398cc5424 100644 --- a/classes/gtk-binver.bbclass +++ b/classes/gtk-binver.bbclass @@ -1,7 +1,7 @@ def gtkbinver_find(d): import bb try: - for line in file( "%s/pkgconfig/gtk+-2.0.pc" % bb.data.getVar('STAGING_DATADIR', d, 1) ).readlines(): + for line in file( "%s/gtk+-2.0.pc" % bb.data.getVar('PKG_CONFIG_PATH', d, 1) ).readlines(): if line.startswith( "gtk_binary_version" ): # bb.note( "gtk_binary_version = '%s'" % line.split("=")[1].strip() ) return line.split("=")[1].strip() |