Hardcode ldconfig Path
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2022-03-13 17:13:50 -04:00
parent 9f63fa712f
commit bdeb45eed2

View File

@ -10,7 +10,7 @@
char *get_full_library_search_path() {
std::string output;
// Run
FILE *file = popen("ldconfig -NXv 2> /dev/null", "r");
FILE *file = popen("/sbin/ldconfig -NXv 2> /dev/null", "r");
// Read
int running = 1;
while (running) {