summaryrefslogtreecommitdiffhomepage
path: root/src/CommandLine
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommandLine')
-rw-r--r--src/CommandLine/pef-amd64-cxxdrv.json8
-rw-r--r--src/CommandLine/pef-arm64-cdrv.cc3
-rw-r--r--src/CommandLine/pef-arm64-cdrv.json4
3 files changed, 8 insertions, 7 deletions
diff --git a/src/CommandLine/pef-amd64-cxxdrv.json b/src/CommandLine/pef-amd64-cxxdrv.json
index 62b5b4d..4520b86 100644
--- a/src/CommandLine/pef-amd64-cxxdrv.json
+++ b/src/CommandLine/pef-amd64-cxxdrv.json
@@ -2,9 +2,9 @@
"compiler_path": "clang++",
"compiler_std": "c++20",
"headers_path": [
- "../CompilerKit",
- "../",
- "../CompilerKit/src/Detail"
+ "../include/CompilerKit",
+ "../../include",
+ "../include/CompilerKit/src/Detail"
],
"sources_path": [
"pef-amd64-cxxdrv.cc"
@@ -16,4 +16,4 @@
"__CXXDRV__=202504",
"kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
]
-} \ No newline at end of file
+}
diff --git a/src/CommandLine/pef-arm64-cdrv.cc b/src/CommandLine/pef-arm64-cdrv.cc
index f4be5d0..c03b039 100644
--- a/src/CommandLine/pef-arm64-cdrv.cc
+++ b/src/CommandLine/pef-arm64-cdrv.cc
@@ -12,7 +12,7 @@
#include <CompilerKit/Utilities/Compiler.h>
#include <CompilerKit/Utilities/DLL.h>
-#ifdef __APPLE__
+#if defined(__APPLE__)
static auto kPath = "/usr/local/lib/libCompilerKit.dylib";
#else
static auto kPath = "/usr/lib/libCompilerKit.so";
@@ -22,6 +22,7 @@ static auto kSymbol = "CompilerCLangARM64";
Int32 main(Int32 argc, Char const* argv[]) {
CompilerKit::DLLLoader dylib;
+
dylib(kPath, kSymbol);
CompilerKit::DLLLoader::EntryT entrypoint_c =
diff --git a/src/CommandLine/pef-arm64-cdrv.json b/src/CommandLine/pef-arm64-cdrv.json
index be6a1be..e63e123 100644
--- a/src/CommandLine/pef-arm64-cdrv.json
+++ b/src/CommandLine/pef-arm64-cdrv.json
@@ -3,7 +3,7 @@
"compiler_std": "c++20",
"headers_path": [
"../CompilerKit",
- "../",
+ "../../include",
"../CompilerKit/src/Detail"
],
"sources_path": [
@@ -16,4 +16,4 @@
"__CXXDRV__=202504",
"kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
]
-} \ No newline at end of file
+}