diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-11-27 18:50:47 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-11-27 18:50:47 +0100 |
| commit | 06851f8b984574cd1532191feca9765ea07904c0 (patch) | |
| tree | f389096a5bab95f8d4b7cd2be3595d7fac0cd45f /src/librarian | |
| parent | 893fc7c9402dac4bd8c1dd2cbdd42752c59012bd (diff) | |
| download | box64-06851f8b984574cd1532191feca9765ea07904c0.tar.gz box64-06851f8b984574cd1532191feca9765ea07904c0.zip | |
Added box64rc configuration file handling
Diffstat (limited to 'src/librarian')
| -rwxr-xr-x | src/librarian/library.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c index 29c595a1..e58cd1d0 100755 --- a/src/librarian/library.c +++ b/src/librarian/library.c @@ -349,7 +349,6 @@ static int isEssentialLib(const char* name) { return 0; } -extern char* libGL; library_t *NewLibrary(const char* path, box64context_t* context) { printf_log(LOG_DEBUG, "Trying to load \"%s\"\n", path); @@ -357,7 +356,7 @@ library_t *NewLibrary(const char* path, box64context_t* context) lib->path = box_realpath(path, NULL); if(!lib->path) lib->path = box_strdup(path); - if(libGL && !strcmp(path, libGL)) + if(box64_libGL && !strcmp(path, box64_libGL)) lib->name = box_strdup("libGL.so.1"); else lib->name = Path2Name(path); |