1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

fix path to the loader

This commit is contained in:
Stefan Lankes 2017-01-17 22:55:42 +01:00
parent 863fbdcbda
commit bca3f6a731
2 changed files with 2 additions and 1 deletions

View file

@ -35,6 +35,7 @@ install: proxy
@echo Install tools
$Q$(INSTALL_PROGRAM) -d $(prefix)/bin
$Q$(INSTALL_PROGRAM) proxy $(prefix)/bin
$Q$(INSTALL_DATA) ../arch/x86/loader/ldhermit.elf $(prefix)/bin
veryclean: clean

View file

@ -299,7 +299,7 @@ static int init_qemu(char *path)
exit(1);
}
str = strstr(loader_path, "proxy");
strncpy(str, "../arch/x86/loader/ldhermit.elf", MAX_PATH-strlen(loader_path)+5);
strncpy(str, "ldhermit.elf", MAX_PATH-strlen(loader_path)+5);
str = getenv("HERMIT_APP_PORT");
if (str)