blob: 9cccb892fadde003d85495a25144d61eb4996228 [file] [log] [blame]
Brad Bishop0f291cc2019-09-01 15:16:57 -04001It fails to compile xfce4-datetime-setter occasionally when system load is high:
2
3| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file or directory
4| 42 | #include "cc-datetime-resources.h"
5| | ^~~~~~~~~~~~~~~~~~~~~~~~~
6| compilation terminated.
7
8Update datetime_panel_dep to make sure cc-datetime-resources.h be generated
9before including.
10
11Upstream-Status: Submitted [https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2]
12
13Signed-off-by: Kai Kang <kai.kang@windriver.com>
14---
15diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
16index c5bf39c..241e177 100644
17--- a/panels/datetime/meson.build
18+++ b/panels/datetime/meson.build
19@@ -175,7 +175,8 @@ datetime_panel_lib = static_library(
20
21 datetime_panel_dep = declare_dependency(
22 include_directories: [ common_inc, include_directories('.') ],
23- link_with: datetime_panel_lib
24+ link_with: datetime_panel_lib,
25+ sources: resources
26 )
27
28 subdir('po-timezones')