Forráskód Böngészése

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

ceriel 40 éve
szülő
commit
a9a0339ec1
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      util/LLgen/src/machdep.c

+ 3 - 1
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;
 }