summaryrefslogtreecommitdiff
path: root/classes/gtk-binver.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-09-02 10:24:06 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-09-02 10:24:06 +0000
commit880610a3aada4162a921a77977d1d5d6dfc95d2a (patch)
tree8cf010b3df7653aefbbb72deb179d3c635d8ee3f /classes/gtk-binver.bbclass
parenta18bd6c9aa2b5c246860a89a7cedffa3825fccef (diff)
Fix PKG_CONFIG_PATH references which should be PKG_CONFIG_DIR
Diffstat (limited to 'classes/gtk-binver.bbclass')
-rw-r--r--classes/gtk-binver.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/gtk-binver.bbclass b/classes/gtk-binver.bbclass
index 8398cc5424..52082492e7 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/gtk+-2.0.pc" % bb.data.getVar('PKG_CONFIG_PATH', d, 1) ).readlines():
+ for line in file( "%s/gtk+-2.0.pc" % bb.data.getVar('PKG_CONFIG_DIR', d, 1) ).readlines():
if line.startswith( "gtk_binary_version" ):
# bb.note( "gtk_binary_version = '%s'" % line.split("=")[1].strip() )
return line.split("=")[1].strip()