about summary refs log tree commit diff stats
path: root/src/librarian
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-11-27 18:50:47 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-11-27 18:50:47 +0100
commit06851f8b984574cd1532191feca9765ea07904c0 (patch)
treef389096a5bab95f8d4b7cd2be3595d7fac0cd45f /src/librarian
parent893fc7c9402dac4bd8c1dd2cbdd42752c59012bd (diff)
downloadbox64-06851f8b984574cd1532191feca9765ea07904c0.tar.gz
box64-06851f8b984574cd1532191feca9765ea07904c0.zip
Added box64rc configuration file handling
Diffstat (limited to 'src/librarian')
-rwxr-xr-xsrc/librarian/library.c3
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);