bugfix when changing onyx installation directory
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 16 Mar 2022 01:25:23 +0000 (20:25 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 16 Mar 2022 01:25:23 +0000 (20:25 -0500)
.gitignore
src/onyx.c

index d5bdcaa0e52ffa8b32413f429a7789da9a621cd0..766a5e9ca07f4ae1977be2a7b2cc5bbc3d079503 100644 (file)
@@ -5,6 +5,7 @@ tags
 session.vim
 *.sublime-project
 *.sublime-workspace
+*.code-workspace
 *.pdb
 *.ilk
 *.obj
index 2c0e2fb3bf848ea2533b851cd9e15ec782e2a701..4b94e5820562e6cba59b4531f2a1adb1861182b7 100644 (file)
@@ -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);