summaryrefslogtreecommitdiff
path: root/x11/cinnamon/files/patch-src_st_meson.build
blob: bae6fb1c5d63c4ed90f324e520199c272cc7693d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Attempt to fix parallel build

In file included from ../src/main.c:25:
In file included from ../src/cinnamon-global-private.h:28:
In file included from src/st/st.h:7:
../src/st/st-box-layout-child.h:24:10: fatal error: 'st-enum-types.h' file not found
#include "st-enum-types.h"
         ^~~~~~~~~~~~~~~~~

--- src/st/meson.build.orig	2021-04-06 04:24:56 UTC
+++ src/st/meson.build
@@ -189,6 +189,7 @@ libst = library(
 st_dep = declare_dependency(
     include_directories: include_directories('.', 'croco'),
     dependencies: libst_deps,
+    sources: st_enum_types[1],
     link_with: libst,
     link_args: ['-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now'],
 )