From 107ccfb5a8f3fad7c382c462c45c5dd2e85e19f3 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Tue, 15 Mar 2022 20:25:23 -0500 Subject: [PATCH] bugfix when changing onyx installation directory --- .gitignore | 1 + src/onyx.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d5bdcaa0..766a5e9c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ tags session.vim *.sublime-project *.sublime-workspace +*.code-workspace *.pdb *.ilk *.obj diff --git a/src/onyx.c b/src/onyx.c index 2c0e2fb3..4b94e582 100644 --- a/src/onyx.c +++ b/src/onyx.c @@ -89,7 +89,7 @@ static CompileOptions compile_opts_parse(bh_allocator alloc, int argc, char *arg char* core_installation; #ifdef _BH_LINUX - core_installation = "/usr/share/onyx"; + core_installation = CORE_INSTALLATION; #endif #ifdef _BH_WINDOWS core_installation = bh_alloc_array(global_heap_allocator, u8, 512); -- 2.25.1