Adapted the libpath routine to use EM_DIR from ../../../h/em_path.h
authorceriel <none@none>
Mon, 8 Oct 1984 15:58:23 +0000 (15:58 +0000)
committerceriel <none@none>
Mon, 8 Oct 1984 15:58:23 +0000 (15:58 +0000)
util/LLgen/src/machdep.c

index ef9e8f3..47b6408 100644 (file)
@@ -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;
 }