cli: Utilise unshare pour compiler les dépendances
This commit is contained in:
@@ -16,7 +16,7 @@ namespace cli {
|
||||
|
||||
int BuildAction::run() {
|
||||
bootstrap();
|
||||
if (execlp("make", "make", "-f", OKI_INTERNAL_MAKEFILE.c_str(), nullptr) == -1) {
|
||||
if (execlp("unshare", "unshare", "-r", "-n", "make", "-f", OKI_INTERNAL_MAKEFILE.c_str(), nullptr) == -1) {
|
||||
return ERR_OSERR;
|
||||
}
|
||||
return OK;
|
||||
|
Reference in New Issue
Block a user