summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-08-10 10:31:27 +0200
committerAmlal <amlal@nekernel.org>2025-08-10 10:31:54 +0200
commitfde73a5d4127938c8b84bdb1907abb232eef56cb (patch)
tree5d15fbe4d7f09343e871d58bd744655caa908026
parenta47b01da9e61a6f5ce5d21b408d58b6ee6f97639 (diff)
fix: tools: fix compiler errors caused by codebase refactors.
Signed-off-by: Amlal <amlal@nekernel.org>
-rw-r--r--tools/pef-amd64-cxxdrv.cc2
-rw-r--r--tools/pef-arm64-cdrv.cc2
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;