From a9a0339ec17ac772da46f6d37ce64752e5b70246 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 8 Oct 1984 15:58:23 +0000 Subject: [PATCH] Adapted the libpath routine to use EM_DIR from ../../../h/em_path.h --- util/LLgen/src/machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/LLgen/src/machdep.c b/util/LLgen/src/machdep.c index ef9e8f3bf..47b640842 100644 --- a/util/LLgen/src/machdep.c +++ b/util/LLgen/src/machdep.c @@ -29,6 +29,7 @@ */ +# include "../../../h/em_path.h" # include "types.h" static string rcsid = "$Header$"; @@ -52,7 +53,8 @@ string libpath(s) char *s; { static char buf[100]; - strcpy(buf,"/usr/local/lib/LLgen/"); + strcpy(buf,EM_DIR); + strcat(buf,"/lib/LLgen/"); strcat(buf,s); return buf; } -- 2.34.1