Skip to content

Commit

Permalink
libresolve fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Jan 28, 2025
1 parent bf4b9ce commit 279400e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson/libresolv/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if not dep_libresolv.found()
add_project_link_arguments('-lresolv', language: 'cpp')
need = true
else
lib_resolv = c.find_library('libresolv', disabler: true, required: false)
lib_resolv = cxx.find_library('libresolv', disabler: true, required: false)
if lib_resolv.found()
if cxx.links(prog, name: '-lresolv is needed', dependencies: lib_resolv)
need = true
Expand Down
2 changes: 1 addition & 1 deletion pdns/recursordist/settings/cxxsupport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ void log(const std::unique_ptr<Logger>& logger, pdns::rust::web::rec::Priority l
log->info(static_cast<Logr::Priority>(log_level), std::string(msg));
}

void error(const std::unique_ptr<Logger>& logger, pdns::rust::web::rec::Priority log_level, ::rust::Str error, ::rust::Str msg, const ::rust::Vec<KeyValue>& values)
void error(const std::unique_ptr<Logger>& logger, pdns::rust::web::rec::Priority log_level, ::rust::Str error, ::rust::Str msg, const ::rust::Vec<KeyValue>& values)
{
auto log = logger->get();
for (const auto& [key, value] : values) {
Expand Down

0 comments on commit 279400e

Please sign in to comment.