mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
swaymsg: remove build dependency on wlroots
This change significantly reduces `swaymsg` run time, by removing many unused shared library dependencies.
This commit is contained in:
parent
d7ffa5cd49
commit
e2c4a4d420
2 changed files with 11 additions and 2 deletions
|
|
@ -20,3 +20,12 @@ lib_sway_common = static_library(
|
||||||
],
|
],
|
||||||
include_directories: sway_inc
|
include_directories: sway_inc
|
||||||
)
|
)
|
||||||
|
|
||||||
|
lib_sway_ipc_client = static_library(
|
||||||
|
'sway-ipc-client',
|
||||||
|
files(
|
||||||
|
'ipc-client.c',
|
||||||
|
),
|
||||||
|
dependencies: [],
|
||||||
|
include_directories: sway_inc
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ executable(
|
||||||
'swaymsg',
|
'swaymsg',
|
||||||
'main.c',
|
'main.c',
|
||||||
include_directories: [sway_inc],
|
include_directories: [sway_inc],
|
||||||
dependencies: [jsonc, wlroots],
|
dependencies: [jsonc],
|
||||||
link_with: [lib_sway_common],
|
link_with: [lib_sway_ipc_client],
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue