mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
Reapply "osdep/meson: add libplacebo include dir to swift compile"
It's not actually related to libplacebo wrap stuff and the swift compile
command needs this to get the right libplacebo include path.
This reverts commit b9d392ecd9
.
This commit is contained in:
parent
b9d392ecd9
commit
f7402ff466
@ -25,7 +25,9 @@ swift_flags += extra_flags
|
||||
swift_compile = [swift_prog, swift_flags, '-module-name', 'macOS_swift',
|
||||
'-emit-module-path', '@OUTPUT0@', '-import-objc-header', bridge,
|
||||
'-emit-objc-header-path', '@OUTPUT1@', '-o', '@OUTPUT2@',
|
||||
'@INPUT@', '-I.', '-I' + source_root]
|
||||
'@INPUT@', '-I.', '-I' + source_root,
|
||||
'-I' + libplacebo.get_variable('includedir',
|
||||
default_value: source_root / 'subprojects' / 'libplacebo' / 'src' / 'include')]
|
||||
|
||||
swift_targets = custom_target('swift_targets',
|
||||
input: swift_sources,
|
||||
|
Loading…
Reference in New Issue
Block a user