mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#771] Do not run dlclose/musl part
This commit is contained in:
@@ -281,6 +281,13 @@ case "$host" in
|
||||
esac
|
||||
KEA_CXXFLAGS="$KEA_CXXFLAGS $MULTITHREADING_FLAG"
|
||||
|
||||
dumpmachine=`$CXX -dumpmachine`
|
||||
case "$dumpmachine" in
|
||||
*-musl)
|
||||
AC_DEFINE([LIBC_MUSL], [1], [Define to 1 if libc is musl])
|
||||
;;
|
||||
esac
|
||||
|
||||
# Disable -Werror by default. Only use it if specifically enabled.
|
||||
# The usage of this flag is:
|
||||
#
|
||||
|
@@ -731,8 +731,11 @@ TEST_F(LibraryManagerTest, libraryLoggerSetup) {
|
||||
|
||||
// After unloading the library, the messages should be unregistered.
|
||||
EXPECT_TRUE(lib_manager.unloadLibrary());
|
||||
// The musl libc does not implement dlclose
|
||||
#ifndef LIBC_MUSL
|
||||
EXPECT_TRUE(dict->getText("BCL_LOAD_START").empty());
|
||||
EXPECT_TRUE(dict->getText("BCL_LOAD_END").empty());
|
||||
#endif
|
||||
}
|
||||
|
||||
} // Anonymous namespace
|
||||
|
Reference in New Issue
Block a user