mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
meson: use swiftc instead of swift for building
This commit is contained in:
committed by
der richter
parent
90a7892545
commit
8d20b72653
@@ -1539,7 +1539,7 @@ endif
|
||||
xcrun = find_program('xcrun', required: get_option('swift-build').require(darwin))
|
||||
swift_ver = '0.0'
|
||||
if xcrun.found()
|
||||
swift_prog = find_program(run_command(xcrun, '-find', 'swift', check: true).stdout().strip())
|
||||
swift_prog = find_program(run_command(xcrun, '-find', 'swiftc', check: true).stdout().strip())
|
||||
swift_ver_string = run_command(swift_prog, '-version', check: true).stdout()
|
||||
verRe = '''
|
||||
#!/usr/bin/env python3
|
||||
|
||||
Reference in New Issue
Block a user