Merge pull request #1050 from rizinorg/symbols-collision

Fix symbols collision due to visibility not being used on subprojects
This commit is contained in:
Riccardo Schirone 2021-04-19 16:51:39 +02:00 committed by Anton Kochkov
parent 0477eb2600
commit fee92bf8d8

View file

@ -148,7 +148,7 @@ endif
if get_option('default_library') == 'shared'
if cc.has_argument('-fvisibility=hidden')
add_project_arguments('-fvisibility=hidden', language: 'c')
add_global_arguments('-fvisibility=hidden', language: 'c')
endif
endif