Skip to content

Commit

Permalink
compile libutil with default visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Sep 29, 2024
1 parent 2bd5175 commit f5f7c95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src.freebsd/util/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ if cc.has_argument('-flto')
endif
endif

# make sure the symbols really are public
if cc.has_argument('-fvisibility=default')
util_cargs += ['-fvisibility=default']
endif

libutil_static = static_library(
'util_static',
libutil_sources,
Expand Down

0 comments on commit f5f7c95

Please sign in to comment.