mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
meson: use relative file paths for file2string
This fixes "Generated from" comments to not include local source path in generated files.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
osd_font = custom_target('osd_font.otf',
|
||||
input: join_paths(source_root, 'sub', 'osd_font.otf'),
|
||||
input: 'osd_font.otf',
|
||||
output: 'osd_font.otf.inc',
|
||||
command: [file2string, '@INPUT@', '@OUTPUT@'],
|
||||
command: [file2string, '@INPUT@', '@OUTPUT@', '@SOURCE_ROOT@'],
|
||||
)
|
||||
sources += osd_font
|
||||
|
||||
Reference in New Issue
Block a user