summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-01-27 21:20:29 +0300
committerwm4 <wm4@nowhere>2017-01-28 14:02:22 +0100
commitea40fa36eef15384b4c0218fb102f92f5cd1cdff (patch)
tree3c09d4a7c3c657ee5d9b1971991c761de17e1bf8 /DOCS
parent9c90c902c11f557577f22e72a3a2db0034c511d8 (diff)
downloadmpv-ea40fa36eef15384b4c0218fb102f92f5cd1cdff.tar.bz2
mpv-ea40fa36eef15384b4c0218fb102f92f5cd1cdff.tar.xz
build: rpi: rely on pkgconfig for compiler flags
Upstream provides pkgconfig files for quite some time now [1,2]. Use them to determine the required flags instead of hard coding. This makes cross-compilation easy, which I dare to say is important for many raspberry-pi users. This also prevents picking libEGL and libGLESv2 from mesa when they are present, which can happen with the current code. Good distros should put these pkgconfig files into default pkg-config search path or populate PKG_CONFIG_PATH for users. However, be nice to everybody and manually look into '/opt/vc/lib/pkgconfig' just in case. Hence the PKG_CONFIG_PATH mangling. [1]: https://github.com/raspberrypi/userland/issues/245 [2]: https://github.com/raspberrypi/userland/commit/05d60a01d53dca363bb4286594db1826ffff8762
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions