From aaee9e0244f953e8076037c32ed31207dd378f5d Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 23 Jan 2018 14:17:19 +0100 Subject: Add a local lib directory This allows people to mount their local directory to /opt/clean/lib/Local and import the files from it. This can be extended to allow more mounting in /opt/clean/lib and let the clm command import all directories from there but not with this commit. --- compile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 7378343..a991dbf 100644 --- a/compile.c +++ b/compile.c @@ -78,6 +78,7 @@ int64_t compile(CleanString path, CleanString module) { "-I $CLEAN_HOME/lib/Platform/Deprecated/ArgEnv " "-I $CLEAN_HOME/lib/Platform/Deprecated/MersenneTwister " "-I $CLEAN_HOME/lib/Platform/Deprecated/StdLib " + "-I $CLEAN_HOME/lib/Local " "-b -nt -h 20M %s -o %s", pathchars, modulechars, modulechars); -- cgit v1.2.3