summaryrefslogtreecommitdiffstats
path: root/src/loader
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-08-03 18:44:44 +0200
committerBas Nieuwenhuizen <[email protected]>2019-08-03 20:18:17 +0200
commit9f37c9903b87f86a533bfaffa72f0ecb285b02b2 (patch)
tree94192c3b35f90699cf748ad66d0f3b444b286e6c /src/loader
parentd7ca1efc6c814947af5b0a0c75b40673b61c31c4 (diff)
mesa: Rename GLX_USE_TLS to USE_ELF_TLS.
These days it is not GLX only and it does not work with all TLS implementations. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/loader')
-rw-r--r--src/loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 3112af4be60..d8d71c30200 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -552,7 +552,7 @@ loader_open_driver(const char *driver_name,
next = end;
len = next - p;
-#if GLX_USE_TLS
+#if USE_ELF_TLS
snprintf(path, sizeof(path), "%.*s/tls/%s_dri.so", len, p, driver_name);
driver = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
#endif