Made scons forward PKG_CONFIG_PATH from environment.
This commit is contained in:
parent
32da8d62a5
commit
faf5d20d7e
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ from os.path import join
|
|||
def CheckPango(context, backend):
|
||||
context.Message("Checking for Pango with " + backend + " backend... ")
|
||||
env = context.env
|
||||
env["ENV"]["PKG_CONFIG_PATH"] = os.environ.get("PKG_CONFIG_PATH", "")
|
||||
gtkdir = os.environ.get("GTK_BASEPATH")
|
||||
if gtkdir:
|
||||
env.AppendENVPath("PATH", join(gtkdir, "bin"))
|
||||
|
|
Loading…
Add table
Reference in a new issue