From a7b8734fdf813b92ad8358b405afb753b1486efa Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 18 Nov 2009 10:51:30 +0000 Subject: [PATCH] Prevent the wrong wx-config from getting used --- makepanda/makepandacore.py | 1 + 1 file changed, 1 insertion(+) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 8767e0890a..7369ca1123 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1075,6 +1075,7 @@ def SmartPkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, LibDirectory(pkg, GetThirdpartyDir() + pkg.lower() + "/lib") # TODO: check for a .pc file in the lib/pkg-config/ dir if (tool != None and os.path.isfile(GetThirdpartyDir() + pkg.lower() + "/bin/" + tool)): + tool = GetThirdpartyDir() + pkg.lower() + "/bin/" + tool for i in PkgConfigGetLibs(pkg.lower(), tool): LibName(pkg, i) for i, j in PkgConfigGetDefSymbols(pkg.lower(), tool).items():