Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 906b895

Browse filesBrowse files
committed
Open symbol visibility for FreeType on wasm
1 parent b11bcde commit 906b895
Copy full SHA for 906b895

File tree

1 file changed

+7
-1
lines changed
Filter options
  • subprojects/packagefiles/freetype-2.6.1-meson

1 file changed

+7
-1
lines changed

‎subprojects/packagefiles/freetype-2.6.1-meson/meson.build

Copy file name to clipboardExpand all lines: subprojects/packagefiles/freetype-2.6.1-meson/meson.build
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,17 @@ ft_config_headers += [configure_file(input: 'include/freetype/config/ftoption.h.
179179
output: 'ftoption.h',
180180
configuration: conf)]
181181

182+
if cc.get_id() == 'emscripten'
183+
kwargs = {}
184+
else
185+
kwargs = {'gnu_symbol_visibility': 'inlineshidden'}
186+
endif
187+
182188
libfreetype = static_library('freetype', base_sources,
183189
include_directories: incbase,
184190
dependencies: deps,
185191
c_args: c_args,
186-
gnu_symbol_visibility: 'inlineshidden',
192+
kwargs: kwargs
187193
)
188194

189195
freetype_dep = declare_dependency(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.