From 9fc6caeffb4cf0a84d0763500485d1de1ae8792b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 11 Aug 2017 16:48:05 +0200 Subject: [PATCH] build: Only include enum header in libst dependency Compiling the generated source for each consumer of the dependency means we end up trying to register the enum types multiple times, resulting in a fatal failure on startup. Luckily code outside libst itself only depends on the header, which doesn't cause those issues. --- src/st/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/meson.build b/src/st/meson.build index 63fc442c0..46378a2f1 100644 --- a/src/st/meson.build +++ b/src/st/meson.build @@ -128,7 +128,7 @@ libst = shared_library('st-1.0', ) libst_dep = declare_dependency(link_with: libst, - sources: st_enums + sources: st_enums[1] ) test_theme = executable('test-theme',