소스 검색

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

ceriel 40 년 전
부모
커밋
a9a0339ec1
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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;
 }