mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Warn about how quirky musl's libdl implementation is.
This commit is contained in:
parent
277b497b63
commit
bd86ebdc9a
10
configure
vendored
10
configure
vendored
@ -338,6 +338,16 @@ updating to $compiler{NAME} v$future_compilers{$compiler{NAME}} or newer.
|
||||
EOW
|
||||
}
|
||||
|
||||
# Warn about how quirky musl's libdl implementation is.
|
||||
chomp(my $machine = `$config{CXX} -dumpmachine 2>/dev/null`);
|
||||
if ($machine =~ /-musl$/) {
|
||||
print_warning <<'EOW';
|
||||
You are building InspIRCd with musl. This libc does not have a useful
|
||||
dlclose() implementation which causes problems with unloading and reloading
|
||||
modules. Please complain to the musl maintainers if this is an issue for you.
|
||||
EOW
|
||||
}
|
||||
|
||||
# Check that the user actually wants this version.
|
||||
if (defined $version{REAL_LABEL}) {
|
||||
print_warning <<'EOW';
|
||||
|
Loading…
x
Reference in New Issue
Block a user