[gnome-shell] build: Only include enum header in libst dependency
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] build: Only include enum header in libst dependency
- Date: Fri, 11 Aug 2017 15:27:53 +0000 (UTC)
commit 9fc6caeffb4cf0a84d0763500485d1de1ae8792b
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Aug 11 16:48:05 2017 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/meson.build b/src/st/meson.build
index 63fc442..46378a2 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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]