1 diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/include/ftconfig.h
2 index 9ea3546..16f8854 100644
3 --- a/third_party/freetype2/include/ftconfig.h
4 +++ b/third_party/freetype2/include/ftconfig.h
5 @@ -397,9 +397,9 @@ FT_BEGIN_HEADER
9 -#define FT_EXPORT( x ) extern "C" x
10 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x
12 -#define FT_EXPORT( x ) extern x
13 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern x
16 #endif /* !FT_EXPORT */
17 @@ -408,9 +408,9 @@ FT_BEGIN_HEADER
21 -#define FT_EXPORT_DEF( x ) extern "C" x
22 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern "C" x
24 -#define FT_EXPORT_DEF( x ) extern x
25 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x
28 #endif /* !FT_EXPORT_DEF */