Prevent the wrong wx-config from getting used

This commit is contained in:
rdb 2009-11-18 10:51:30 +00:00
parent 2cb602208c
commit a7b8734fdf

View File

@ -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():