From be116366f256e853300e4494c46803eb9e779311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 5 Sep 2023 22:35:22 +0200 Subject: scripts/mpv-config: remove -Bsymbolic linker flag It shouldn't be added unconditionally and with all the fragile checks if it is supported it is way better to handle it in the meson itself. See also: https://github.com/mpv-player/mpv/pull/12346 Fixes: https://github.com/mpv-player/mpv-build/issues/215 https://github.com/haasn/libplacebo/issues/198 --- scripts/mpv-config | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/mpv-config b/scripts/mpv-config index 829ac50..99432f7 100755 --- a/scripts/mpv-config +++ b/scripts/mpv-config @@ -11,13 +11,6 @@ if test -f "$BUILD"/mpv_options ; then unset -v IFS fi -if "$BUILD"/scripts/test-libmpv; then - platform=$(uname | tr '[:upper:]' '[:lower:]') - case "$platform" in - *bsd*|*linux*|*solaris*) OPTIONS="-Dc_link_args='-Wl,-Bsymbolic'" ;; - esac -fi - case "$PKG_CONFIG_PATH" in '') export PKG_CONFIG_PATH="$BUILD/build_libs/lib/pkgconfig" -- cgit v1.2.3