Skip to content

Commit

Permalink
Make freetype port depend on zlib port. (#22062)
Browse files Browse the repository at this point in the history
Fixes: #21930
  • Loading branch information
sbc100 committed Jun 6, 2024
1 parent 223d61e commit 7eb1744
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 @@ -9,6 +9,7 @@
HASH = '0d0b1280ba0501ad0a23cf1daa1f86821c722218b59432734d3087a89acd22aabd5c3e5e1269700dcd41e87073046e906060f167c032eb91a3ac8c5808a02783'

variants = {'freetype-wasm-sjlj': {'SUPPORT_LONGJMP': 'wasm'}}
deps = ['zlib']


def needed(settings):
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 7eb1744

Please sign in to comment.