diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-31 14:22:32 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-31 14:22:32 +0100 |
commit | 76ef71bda0f2a2c5d80dd3fffd9ae4cbccf050fb (patch) | |
tree | 0c3e24662addea279404f2a0152387e1c297a5fa /modules | |
parent | ae81a569b952c116d72716a10b17c08dfc5f81e8 (diff) | |
parent | 634c2fbcae12e666fc5084d9debefbfb2880a702 (diff) |
Merge pull request #67585 from bruvzg/fix_no_graphite_build
[TextServer] Fix build with disabled graphite.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/text_server_adv/SCsub | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/text_server_adv/SCsub b/modules/text_server_adv/SCsub index 2261342467..b2e38a1dad 100644 --- a/modules/text_server_adv/SCsub +++ b/modules/text_server_adv/SCsub @@ -131,9 +131,14 @@ if env["builtin_harfbuzz"]: env_harfbuzz.Append( CCFLAGS=[ "-DHAVE_FREETYPE", - "-DHAVE_GRAPHITE2", ] ) + if env["graphite"]: + env_harfbuzz.Append( + CCFLAGS=[ + "-DHAVE_GRAPHITE2", + ] + ) if env["builtin_freetype"]: env_harfbuzz.Prepend(CPPPATH=["#thirdparty/freetype/include"]) if env["builtin_graphite"] and env["graphite"]: |