From 48ccacc1bc61b8688ba8f8d9fafab48f5070a915 Mon Sep 17 00:00:00 2001 From: Shiz Date: Sat, 22 Sep 2018 14:19:55 +0200 Subject: build: fix incorrect version.h dependency The build system declared `rev_target` to be a dependency of libdav1d instead of libdav1dentrypoint. This causes initial builds to fail, as it is `src/lib.c` from libdav1dentrypoint that includes this file. Move the dependency to libdav1dentrypoint to fix this. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 9b6854f..67dfa32 100644 --- a/meson.build +++ b/meson.build @@ -193,7 +193,7 @@ entrypoints_src = files( ) entrypoints_lib = static_library( 'libdav1dentrypoint', - entrypoints_src, + entrypoints_src, rev_target, include_directories: dav1d_inc_dirs, c_args: stackrealign_flag, install: false, @@ -280,7 +280,7 @@ foreach bitdepth : dav1d_bitdepths endforeach libdav1d = library('dav1d', - libdav1d_sources, rev_target, nasm_objs, + libdav1d_sources, nasm_objs, version: '0.0.1', objects: [bitdepth_objs, entrypoints_objs], include_directories: dav1d_inc_dirs, -- cgit v1.2.3