From 6a84057ae521140f1d17122781ec7ce84434a383 Mon Sep 17 00:00:00 2001 From: Jim McCann Date: Mon, 27 Sep 2021 19:57:01 -0400 Subject: [PATCH] add debugging symbols --- rebuild-libs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rebuild-libs.py b/rebuild-libs.py index 33f9c65..4588f7b 100755 --- a/rebuild-libs.py +++ b/rebuild-libs.py @@ -893,6 +893,7 @@ def build_harfbuzz(): os.makedirs(target + "/harfbuzz/dist", exist_ok=True) if target == 'windows': shutil.copy(lib_dir + "/build/RelWithDebInfo/harfbuzz.lib", target + "/harfbuzz/lib/") + shutil.copy(lib_dir + "/build/RelWithDebInfo/harfbuzz.pdb", target + "/harfbuzz/lib/") else: shutil.copy(lib_dir + "/build/libharfbuzz.a", target + "/harfbuzz/lib/") @@ -992,6 +993,7 @@ def build_freetype(): os.makedirs(target + "/freetype/dist", exist_ok=True) if target == 'windows': shutil.copy(lib_dir + "/build/RelWithDebInfo/freetype.lib", target + "/freetype/lib/") + shutil.copy(lib_dir + "/build/RelWithDebInfo/freetype.pdb", target + "/freetype/lib/") else: #todo: check what gets build on other oses: shutil.copy(lib_dir + "/build/libfreetype.a", target + "/freetype/lib/")