mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 21:27:08 +00:00
build: don't check for Swift when disabled
This commit is contained in:
parent
65b1c2d065
commit
f7f5bd80bb
@ -74,4 +74,5 @@ def __find_swift_compiler(ctx):
|
||||
def configure(ctx):
|
||||
if ctx.env.DEST_OS == "darwin":
|
||||
__find_macos_sdk(ctx)
|
||||
__find_swift_compiler(ctx)
|
||||
if ctx.options.enable_swift is not False:
|
||||
__find_swift_compiler(ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user