Adapted the libpath routine to use EM_DIR from ../../../h/em_path.h

This commit is contained in:
ceriel 1984-10-08 15:58:23 +00:00
parent 27dcc7efc6
commit a9a0339ec1

View file

@ -29,6 +29,7 @@
*/ */
# include "../../../h/em_path.h"
# include "types.h" # include "types.h"
static string rcsid = "$Header$"; static string rcsid = "$Header$";
@ -52,7 +53,8 @@ string
libpath(s) char *s; { libpath(s) char *s; {
static char buf[100]; static char buf[100];
strcpy(buf,"/usr/local/lib/LLgen/"); strcpy(buf,EM_DIR);
strcat(buf,"/lib/LLgen/");
strcat(buf,s); strcat(buf,s);
return buf; return buf;
} }