From fad58256fec6223ce19964338f27d8d7b3ba55a2 Mon Sep 17 00:00:00 2001 From: odrling Date: Fri, 18 Mar 2022 14:31:16 +0100 Subject: [PATCH] force dependency on libresrc --- src/libresrc/meson.build | 5 +++++ src/meson.build | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/libresrc/meson.build b/src/libresrc/meson.build index 3d172673a..6fb0cd086 100644 --- a/src/libresrc/meson.build +++ b/src/libresrc/meson.build @@ -47,3 +47,8 @@ resrc += custom_target('default_config.{cpp,h}', libresrc_inc = include_directories('.') libresrc = static_library('resrc', 'libresrc.cpp', resrc, include_directories: deps_inc, dependencies: deps) + +libresrc_dep = declare_dependency( + sources: resrc, + link_with: [libresrc] +) diff --git a/src/meson.build b/src/meson.build index b01ad5e90..a68ad0844 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,5 +1,7 @@ subdir('libresrc') +deps += libresrc_dep + aegisub_src = files( 'MatroskaParser.c', 'aegisublocale.cpp',