Skip to content

Commit

Permalink
meson: add -Bsymbolic for libmpv
Browse files Browse the repository at this point in the history
This is required when linking ffmpeg statically and generally good
practice to have on shared libraries anyway.

Prerequisit for fixes in mpv-build for:
mpv-player/mpv-build#215
haasn/libplacebo#198
  • Loading branch information
kasper93 authored and dyphire committed Sep 9, 2023
1 parent 3a4474b commit 57bddce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,7 @@ minor = client_h_define.split('|')[1].strip('() ')
client_api_version = major + '.' + minor + '.0'

libmpv = library('mpv', sources, dependencies: dependencies, gnu_symbol_visibility: 'hidden',
link_args: cc.get_supported_link_arguments(['-Wl,-Bsymbolic']),
version: client_api_version, include_directories: includedir,
install: get_option('libmpv'), build_by_default: get_option('libmpv'))

Expand Down

0 comments on commit 57bddce

Please sign in to comment.