diff options
-rw-r--r-- | common/meson.build | 17 | ||||
-rw-r--r-- | sway/meson.build | 5 |
2 files changed, 13 insertions, 9 deletions
diff --git a/common/meson.build b/common/meson.build index ca1f1752..3a4282ad 100644 --- a/common/meson.build +++ b/common/meson.build | |||
@@ -1,8 +1,11 @@ | |||
1 | sway_common = files( | 1 | lib_sway_common = static_library('sway-common', |
2 | 'log.c', | 2 | files( |
3 | 'list.c', | 3 | 'log.c', |
4 | 'util.c', | 4 | 'list.c', |
5 | 'stringop.c', | 5 | 'util.c', |
6 | 'readline.c', | 6 | 'stringop.c', |
7 | 'ipc-client.c' | 7 | 'readline.c', |
8 | 'ipc-client.c' | ||
9 | ), | ||
10 | include_directories: sway_inc | ||
8 | ) | 11 | ) |
diff --git a/sway/meson.build b/sway/meson.build index 1f17ed31..b02506c8 100644 --- a/sway/meson.build +++ b/sway/meson.build | |||
@@ -1,4 +1,4 @@ | |||
1 | sway_sources = sway_common + files( | 1 | sway_sources = files( |
2 | 'main.c', | 2 | 'main.c', |
3 | 'server.c', | 3 | 'server.c', |
4 | 'commands.c', | 4 | 'commands.c', |
@@ -25,5 +25,6 @@ executable( | |||
25 | 'sway', | 25 | 'sway', |
26 | sway_sources, | 26 | sway_sources, |
27 | include_directories: [sway_inc], | 27 | include_directories: [sway_inc], |
28 | dependencies: sway_deps | 28 | dependencies: sway_deps, |
29 | link_with: [lib_sway_common] | ||
29 | ) | 30 | ) |