summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-10-18 20:04:30 -0500
committerDudemanguy <random342@airmail.cc>2021-11-14 19:13:10 +0000
commitf610fe16c0b1cb74d73d02dc55792d4ddc262ad2 (patch)
treebb5eee920a78e8ff1481184f8c59bbe87166bcbb /wscript_build.py
parent94950b1b2275cd820f6f9d6a1df581a93bea532a (diff)
downloadmpv-f610fe16c0b1cb74d73d02dc55792d4ddc262ad2.tar.bz2
mpv-f610fe16c0b1cb74d73d02dc55792d4ddc262ad2.tar.xz
demux_edl: rename ebml_defs.c to ebml_defs.inc
The extension is completely arbitrary since ebml_defs.c isn't a real c file that actually is compiled at any point in time. It's just used as an include. The reason for changing the extension is because meson needs to add this to its list of sources for dependency/ordering purposes. Understandably, meson will try to compile any .c file added to a c project executable object. Obviously, this compilation will never succeed, and this shouldn't be compiled anyways. Just make it .inc instead.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py
index ace0fb1b18..c0dd23bb1c 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -129,7 +129,7 @@ def build(ctx):
target = "generated/wayland/xdg-decoration-unstable-v1.h")
ctx(features = "ebml_header", target = "generated/ebml_types.h")
- ctx(features = "ebml_definitions", target = "generated/ebml_defs.c")
+ ctx(features = "ebml_definitions", target = "generated/ebml_defs.inc")
def swift(task):
src = [x.abspath() for x in task.inputs]