aboutsummaryrefslogtreecommitdiff
path: root/src/compile/headers.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-01 17:32:42 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-01 17:32:42 -0400
commit081a26de86eca95ba3ee0887992cdc3d96190cce (patch)
tree083e08ccfe6f5186b178a04e85d7d6a67ed27e1f /src/compile/headers.c
parentaf50891b0eb51be61d0d2366875bf5b15eef5c80 (diff)
Fixes for local-tomo so that it *actually* uses local header files,
which don't need to be installed anymore.
Diffstat (limited to 'src/compile/headers.c')
-rw-r--r--src/compile/headers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/headers.c b/src/compile/headers.c
index d1131bde..6dc69f03 100644
--- a/src/compile/headers.c
+++ b/src/compile/headers.c
@@ -174,7 +174,7 @@ Text_t compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast)
module_info_t mod = get_module_info(ast);
glob_t tm_files;
const char *folder = mod.version ? String(mod.name, "_", mod.version) : mod.name;
- if (glob(String(TOMO_PREFIX "/lib/tomo_" TOMO_VERSION "/", folder, "/[!._0-9]*.tm"), GLOB_TILDE, NULL,
+ if (glob(String(TOMO_PATH, "/lib/tomo_" TOMO_VERSION "/", folder, "/[!._0-9]*.tm"), GLOB_TILDE, NULL,
&tm_files)
!= 0) {
if (!try_install_module(mod, true)) code_err(ast, "Could not find library");