From fde73a5d4127938c8b84bdb1907abb232eef56cb Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 10 Aug 2025 10:31:27 +0200 Subject: fix: tools: fix compiler errors caused by codebase refactors. Signed-off-by: Amlal --- tools/pef-amd64-cxxdrv.cc | 2 +- tools/pef-arm64-cdrv.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pef-amd64-cxxdrv.cc b/tools/pef-amd64-cxxdrv.cc index 274df09..06add5d 100644 --- a/tools/pef-amd64-cxxdrv.cc +++ b/tools/pef-amd64-cxxdrv.cc @@ -17,7 +17,7 @@ static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; static auto kSymbol = "CompilerCPlusPlusAMD64"; Int32 main(Int32 argc, Char const* argv[]) { - CompilerKitDylib handler = dlopen(kPath, RTDK_LAZY | RTDK_GLOBAL); + CompilerKitDylib handler = dlopen(kPath, RTLD_LAZY | RTLD_GLOBAL); if (!handler) { kStdOut; diff --git a/tools/pef-arm64-cdrv.cc b/tools/pef-arm64-cdrv.cc index 1d2822b..8db5285 100644 --- a/tools/pef-arm64-cdrv.cc +++ b/tools/pef-arm64-cdrv.cc @@ -17,7 +17,7 @@ static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; static auto kSymbol = "CompilerCLangARM64"; Int32 main(Int32 argc, Char const* argv[]) { - CompilerKitDylib handler = dlopen(kPath, RTDK_LAZY | RTDK_GLOBAL); + CompilerKitDylib handler = dlopen(kPath, RTLD_LAZY | RTLD_GLOBAL); if (!handler) { kStdOut; -- cgit v1.2.3