diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-30 22:47:29 -0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-09-01 10:38:56 +0200 |
commit | bfa7a69e11a2d1b1f696247528c409fdb5fb3cf6 (patch) | |
tree | 7eb6b073a3f8b4e30b57f12f6283607e51ebbdff /build | |
parent | f70466d5b2bc00c7efa5f4468b19f5322cdb8fbb (diff) | |
download | mpv-build-bfa7a69e11a2d1b1f696247528c409fdb5fb3cf6.tar.bz2 mpv-build-bfa7a69e11a2d1b1f696247528c409fdb5fb3cf6.tar.xz |
scripts/mpv-config: check platform when adding flags
When building libmpv against the static ffmpeg libraries, we have to add
the -Wl,-Bsymbolic linker flags. The problem is that these are only
valid for ELF which doesn't apply to all OSes (namely, macOS). Solve
this by simply checking the output from uname and seeing if it matches a
known ELF platform like linux, bsd, or solaris (who uses this?).
Fixes #216.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions