1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 20:21:49 +00:00
mpv/waftools
Ilya Tumaykin ea40fa36ee 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]: 05d60a01d5
2017-01-28 14:02:22 +01:00
..
checks build: rpi: rely on pkgconfig for compiler flags 2017-01-28 14:02:22 +01:00
detections win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
fragments cocoa: cosmetic fixes 2016-12-16 16:32:26 +01:00
generators build: always run code generators before compiling 2017-01-07 15:00:22 +01:00
__init__.py
clang_compilation_database.py build: add option to generate a clang compilation database 2015-02-05 21:06:34 +01:00
dependencies.py build: Set a default error message for #3692 2016-10-21 17:11:26 +02:00
features.py
inflector.py build: remove useless class 2015-07-26 15:00:47 +02:00
syms.py build: syms: reindent 2014-08-05 12:57:34 +02:00
waf_customizations.py build: fix Python 3 unicode issue with waf 1.8.6 2015-02-19 09:40:50 +01:00