Commit 4e3640f0 authored by Francis Dupont's avatar Francis Dupont

[#771] Do not run dlclose/musl part

parent ebb15b29
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment