removed unreliable musl test and left only accurate new one
Former-commit-id: 386be8990a83fcc5d57aa20a268544a877c2cfd7
This commit is contained in:
parent
39a3238a8f
commit
f8289cebcc
@ -1,12 +1,10 @@
|
|||||||
set system_name [string tolower [exec uname -s]]
|
set system_name [string tolower [exec uname -s]]
|
||||||
# ldd --version returns 1 under musl for unknown reasons. If this check stops working, that may be why
|
|
||||||
set is_musl [catch {exec ldd --version}]
|
|
||||||
set system_supported 0
|
set system_supported 0
|
||||||
|
|
||||||
# We only support darwin or Linux with glibc
|
# We only support darwin or Linux with glibc
|
||||||
if {$system_name eq {darwin}} {
|
if {$system_name eq {darwin}} {
|
||||||
set system_supported 1
|
set system_supported 1
|
||||||
} elseif {$system_name eq {linux} && $is_musl eq 0} {
|
} elseif {$system_name eq {linux}} {
|
||||||
# Avoid the test on libmusl, which does not support backtrace
|
# Avoid the test on libmusl, which does not support backtrace
|
||||||
set ldd [exec ldd src/keydb-server]
|
set ldd [exec ldd src/keydb-server]
|
||||||
if {![string match {*libc.musl*} $ldd]} {
|
if {![string match {*libc.musl*} $ldd]} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user