Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 1 | It 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 | |
| 8 | Update datetime_panel_dep to make sure cc-datetime-resources.h be generated |
| 9 | before including. |
| 10 | |
| 11 | Upstream-Status: Submitted [https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2] |
| 12 | |
| 13 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 14 | --- |
| 15 | diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build |
| 16 | index 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') |