Add dlopen feature
If the dlopen feature is disabled, system libraries depended on by wayland-client and smithay-client-toolkit will be statically linked.
This commit is contained in:
parent
b2b066c9e5
commit
2833d93b48
1 changed files with 6 additions and 2 deletions
|
|
@ -11,7 +11,11 @@ keywords = ["clipboard", "wayland"]
|
|||
|
||||
[dependencies]
|
||||
sctk = { package = "smithay-client-toolkit", version = "0.14", default-features = false }
|
||||
wayland-client = { version = "0.28", features = ["dlopen"] }
|
||||
wayland-client = { version = "0.28", features = ["use_system_lib"] }
|
||||
|
||||
[dev-dependencies]
|
||||
sctk = { package = "smithay-client-toolkit", version = "0.14"}
|
||||
sctk = { package = "smithay-client-toolkit", version = "0.14", default-features = false, features = ["calloop"] }
|
||||
|
||||
[features]
|
||||
default = ["dlopen"]
|
||||
dlopen = ["sctk/dlopen", "wayland-client/dlopen"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue