express: No need to check for -fvisibility=hidden twice

This commit is contained in:
Christopher Michael 2021-02-16 13:26:07 -05:00
parent c8beecb61f
commit a9fdbee77a
1 changed files with 0 additions and 5 deletions

View File

@ -63,11 +63,6 @@ if cc.has_link_argument('-Wl,--no-copy-dt-needed-entries')
endif
add_global_link_arguments(express_lflags, language: 'c')
have_visibility_hidden = cc.has_argument('-fvisibility=hidden')
if have_visibility_hidden
add_global_arguments('-fvisibility=hidden', language: 'c')
endif
pkgconfig = import('pkgconfig')
windows = import('windows')