Hardcode ldconfig Path
This commit is contained in:
parent
9f63fa712f
commit
bdeb45eed2
@ -10,7 +10,7 @@
|
|||||||
char *get_full_library_search_path() {
|
char *get_full_library_search_path() {
|
||||||
std::string output;
|
std::string output;
|
||||||
// Run
|
// Run
|
||||||
FILE *file = popen("ldconfig -NXv 2> /dev/null", "r");
|
FILE *file = popen("/sbin/ldconfig -NXv 2> /dev/null", "r");
|
||||||
// Read
|
// Read
|
||||||
int running = 1;
|
int running = 1;
|
||||||
while (running) {
|
while (running) {
|
||||||
|
Loading…
Reference in New Issue
Block a user