Skip to content

Commit

Permalink
add debugging symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
ixchow committed Sep 27, 2021
1 parent 314555a commit 6a84057
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rebuild-libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/")

Expand Down Expand Up @@ -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/")
Expand Down

0 comments on commit 6a84057

Please sign in to comment.