From: Brendan Hansen Date: Wed, 16 Mar 2022 01:25:23 +0000 (-0500) Subject: bugfix when changing onyx installation directory X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=107ccfb5a8f3fad7c382c462c45c5dd2e85e19f3;p=onyx.git bugfix when changing onyx installation directory --- 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);