Skip to content

Commit

Permalink
Attempt to fix build order bug
Browse files Browse the repository at this point in the history
Uncovered while building with samurai [0] but can probably also
happen with ninja eventually.

In file included from ../src/mate-applet/applet.c:19:
In file included from ../src/frontend/classic/classic-window.h:14:
../src/frontend/classic/../menu-private.h:18:10: fatal error: 'libsaver-glue.h' file not found
 #include "libsaver-glue.h"
         ^~~~~~~~~~~~~~~~~
1 error generated.
samu: subcommands failed

[0] https://github.com/michaelforney/samurai
  • Loading branch information
Tobias Kortkamp authored and flexiondotorg committed Sep 4, 2021
1 parent 5f0be57 commit 71cced4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ libresources = static_library(

link_libresources = declare_dependency(
link_with: libresources,
sources: brisk_resources,
include_directories: [
data_include,
],
Expand All @@ -38,6 +39,7 @@ libsession_stub = static_library(
# Allow linking to the stub
link_libsession_stub = declare_dependency(
link_with: libsession_stub,
sources: [libsaver_glue, libsession_glue],
dependencies: [
dep_gio_unix,
],
Expand Down

0 comments on commit 71cced4

Please sign in to comment.