0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/waftools
der richter 76858ba91c build: add support for Swift toolchains not provided by Apple
the xcode-select tool only properly works with Apple provided toolchains
but not with third party ones from swift.org. in the latter case the
swift compiler executable is found in the proper path but the swift libs
from the xcode or command line tools will be picked. this leads to a
not wanted discrepancy of the swift compiler and libs and possible
errors.

instead of relying on the xcode-select tool search for the libs relative
to the swift executable. that relative path seems to be the same for all
toolchains. if for any reasons a swift executable is not found in the
relative path, fall back to the old xcode-select method.

furthermore, both static and dynamic libs will be searched for but only
the former will be used for now. this is a preparation for the upcoming
swift 5 migration.
2019-07-21 18:13:07 +03:00
..
checks build: bump minimum swift version to 3.0.2 2019-04-02 01:43:54 +03:00
detections build: add support for Swift toolchains not provided by Apple 2019-07-21 18:13:07 +03:00
fragments wscript: Remove code check for cuda hwaccel 2018-05-10 22:43:08 +03:00
generators build: add all configure flags as conditional flags to Swift compiler 2019-07-21 18:13:07 +03:00
__init__.py switch the build system to waf 2013-11-21 21:22:36 +01:00
clang_compilation_database.py waftools: update clang_compilation_database 2018-05-17 13:23:26 +02:00
dependencies.py build: use unified dependency expressions instead of weird fields 2017-09-18 22:35:37 +02:00
deps_parser.py build: remove some dead code 2017-09-19 18:37:11 +02:00
features.py build: hide duplicate options from --help 2013-12-26 10:09:17 +01:00
inflector.py build: remove useless class 2015-07-26 15:00:47 +02:00
syms.py build: fix build for waf 2.0 2017-09-22 09:14:37 +02:00
waf_customizations.py build: fix linking libmpv when swift features are build 2018-07-08 14:39:04 +03:00