mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Prevent the wrong wx-config from getting used
This commit is contained in:
parent
2cb602208c
commit
a7b8734fdf
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user