diff --git a/BACKERS.md b/BACKERS.md index d3dcf17084..a42b006abe 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -23,12 +23,14 @@ This is a list of all the people who are contributing financially to Panda3D. I * Sam Edwards * Max Voss +* Will Nielsen ## Enthusiasts ![Benefactors](https://opencollective.com/panda3d/tiers/enthusiast.svg?avatarHeight=48&width=600) * Eric Thomson +* Kyle Roach ## Backers diff --git a/direct/src/dist/FreezeTool.py b/direct/src/dist/FreezeTool.py index 3b32fcf885..18ecbf109a 100644 --- a/direct/src/dist/FreezeTool.py +++ b/direct/src/dist/FreezeTool.py @@ -785,7 +785,7 @@ class Freezer: # already-imported modules. (Some of them might do their own # special path mangling.) for moduleName, module in list(sys.modules.items()): - if module and hasattr(module, '__path__'): + if module and getattr(module, '__path__', None) is not None: path = list(getattr(module, '__path__')) if path: modulefinder.AddPackagePath(moduleName, path[0]) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 2dc92ac7c0..26b075baf5 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -799,6 +799,13 @@ if (COMPILER=="GCC"): SmartPkgEnable("JPEG", "", ("jpeg"), "jpeglib.h") SmartPkgEnable("PNG", "libpng", ("png"), "png.h", tool = "libpng-config") + # Copy freetype libraries to be specified after harfbuzz libraries as well, + # because there's a circular dependency between the two libraries. + if not PkgSkip("FREETYPE") and not PkgSkip("HARFBUZZ"): + for (opt, name) in LIBNAMES: + if opt == "FREETYPE": + LibName("HARFBUZZ", name) + if not PkgSkip("FFMPEG"): if GetTarget() == "darwin": LibName("FFMPEG", "-framework VideoDecodeAcceleration")