server: statically link to sqlite3 when targeting musl (#231)
- fix #228 - the musl libc is used on Alpine, a minimal linux distribution commonly used in docker images. It's also used on OpenWRT which might be of interest to innernet.pull/239/head
parent
df3b4ae78f
commit
0fb0ac7ab1
|
@ -47,6 +47,9 @@ wireguard-control = { path = "../wireguard-control" }
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
socket2 = { version = "0.4", features = ["all"] }
|
socket2 = { version = "0.4", features = ["all"] }
|
||||||
|
|
||||||
|
[target.'cfg(target_env = "musl")'.dependencies]
|
||||||
|
rusqlite = { version = "0.28", features = ["bundled"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|
Loading…
Reference in New Issue