Browse Source

makepanda: Don't re-export harfbuzz symbols from libpanda.so

Shot in the dark at fixing #1391 (but this change is a good idea anyway)
rdb 3 years ago
parent
commit
84a69e1689
1 changed files with 3 additions and 0 deletions
  1. 3 0
      makepanda/makepanda.py

+ 3 - 0
makepanda/makepanda.py

@@ -1119,6 +1119,9 @@ if (COMPILER=="GCC"):
                 LibName("ARTOOLKIT", "-Wl,--exclude-libs,libAR.a")
                 LibName("ARTOOLKIT", "-Wl,--exclude-libs,libARMulti.a")
 
+            if not PkgSkip("HARFBUZZ"):
+                LibName("HARFBUZZ", "-Wl,--exclude-libs,libharfbuzz.a")
+
         if PkgSkip("FFMPEG") or GetTarget() == "darwin":
             cv_lib = ChooseLib(("opencv_core", "cv"), "OPENCV")
             if cv_lib == "opencv_core":