Skip to content

Commit

Permalink
meson: don't set FRIBIDI_ENTRY
Browse files Browse the repository at this point in the history
  • Loading branch information
CoffeeFlux committed Nov 16, 2020
1 parent bed9bcc commit 4d3029e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions meson.build
Expand Up @@ -112,13 +112,9 @@ if freetype_dep.found()
conf.set('CONFIG_FREETYPE', 1)
endif

have_visibility_hidden = cc.has_argument('-fvisibility=hidden')
if have_visibility_hidden
fribidi_visibility = '-DFRIBIDI_ENTRY=__attribute__ ((visibility ("default")))'
else
if host_machine.system() == 'windows' and get_option('default_library') == 'static'
fribidi_visibility = '-DFRIBIDI_LIB_STATIC'
endif
fribidi_visibility = ''
if host_machine.system() == 'windows' and get_option('default_library') == 'static'
fribidi_visibility = '-DFRIBIDI_LIB_STATIC'
endif
fribidi_dep = dependency('fribidi', version: '>= 0.19.0',
default_options: ['docs=false', 'tests=false'])
Expand Down

0 comments on commit 4d3029e

Please sign in to comment.