Skip to content

Commit

Permalink
Make freetype port depend on zlib port.
Browse files Browse the repository at this point in the history
Fixes: #21930
  • Loading branch information
sbc100 committed Jun 5, 2024
1 parent 223d61e commit 5954684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ports/freetype.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

variants = {'freetype-wasm-sjlj': {'SUPPORT_LONGJMP': 'wasm'}}

deps = ['zlib']

def needed(settings):
return settings.USE_FREETYPE
Expand Down Expand Up @@ -87,6 +88,7 @@ def create(final):

flags = [
'-DFT2_BUILD_LIBRARY',
'-DFT_CONFIG_OPTION_SYSTEM_ZLIB',
'-I' + source_path + '/include',
'-I' + source_path + '/truetype',
'-I' + source_path + '/sfnt',
Expand Down

0 comments on commit 5954684

Please sign in to comment.