Fix typo
This commit is contained in:
parent
fb3988eb09
commit
e1cd2f3d84
|
|
@ -952,8 +952,8 @@ def PkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, fram
|
|||
if (l.startswith("lib")):
|
||||
libname = l[3:]
|
||||
# This is for backward compatibility - in the thirdparty dir, we kept some libs with "panda" prefix, like libpandatiff.
|
||||
if (len(glob.glob(THIRDPARTYLIBS + pkg.lower() + "/lib/libpanda%.*" % libname)) > 0 and
|
||||
len(glob.glob(THIRDPARTYLIBS + pkg.lower() + "/lib/lib%.*" % libname)) == 0):
|
||||
if (len(glob.glob(THIRDPARTYLIBS + pkg.lower() + "/lib/libpanda%s.*" % libname)) > 0 and
|
||||
len(glob.glob(THIRDPARTYLIBS + pkg.lower() + "/lib/lib%s.*" % libname)) == 0):
|
||||
libname = "panda" + libname
|
||||
LibName(pkg, libname)
|
||||
for d, v in defs.values():
|
||||
|
|
|
|||
Loading…
Reference in New Issue