|
@@ -952,8 +952,8 @@ def PkgEnable(pkg, pkgconfig = None, libs = None, incs = None, defs = None, fram
|
|
|
if (l.startswith("lib")):
|
|
if (l.startswith("lib")):
|
|
|
libname = l[3:]
|
|
libname = l[3:]
|
|
|
# This is for backward compatibility - in the thirdparty dir, we kept some libs with "panda" prefix, like libpandatiff.
|
|
# 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 = "panda" + libname
|
|
|
LibName(pkg, libname)
|
|
LibName(pkg, libname)
|
|
|
for d, v in defs.values():
|
|
for d, v in defs.values():
|