From 077720c843eb8bc7ed1009997c50416591875287 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 16 Nov 2025 14:17:35 +0800 Subject: Get streaming to work again on FreeBSD There's libpthread.so and no libpthread.so.0 on FBSD and it's the other way around on GNU/Linux. --- indra/newview/llappviewerlinux.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llappviewerlinux.cpp') diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp index ae7ed17359..5bbaed750c 100644 --- a/indra/newview/llappviewerlinux.cpp +++ b/indra/newview/llappviewerlinux.cpp @@ -134,7 +134,11 @@ int main( int argc, char **argv ) #ifdef __aarch64__ setenv("LD_PRELOAD", APP_PLUGIN_DIR"/libcef.so", 1); #else +# if LL_LINUX setenv("LD_PRELOAD", "libpthread.so.0 libGL.so.1", 1); +# else + setenv("LD_PRELOAD", "libpthread.so libGL.so.1", 1); +# endif setenv("__GL_THREADED_OPTIMIZATIONS", "1", 0); #endif -- cgit v1.2.3