From 2e0d8732cca561f04922ef23be1733d51e32de42 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Fri, 1 Jan 2010 12:59:25 +0100 Subject: Fix just another hardcoded path to Linux-i686. (Backported from 6d50eb4a) @nochangelog --- linden/indra/newview/llviewermedia.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'linden/indra/newview') diff --git a/linden/indra/newview/llviewermedia.cpp b/linden/indra/newview/llviewermedia.cpp index b791786..3de0804 100644 --- a/linden/indra/newview/llviewermedia.cpp +++ b/linden/indra/newview/llviewermedia.cpp @@ -531,7 +531,21 @@ void LLViewerMedia::buildMediaManagerData( LLMediaManagerData* init_data ) #elif LL_LINUX std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) ); component_dir += gDirUtilp->getDirDelimiter(); - component_dir += "mozilla-runtime-linux-i686"; + + #if LINUX64 + component_dir += "mozilla-runtime-linux-x86_64"; + #else + component_dir += "mozilla-runtime-linux-i686"; + #endif + +#elif LL_SOLARIS + std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) ); + component_dir += gDirUtilp->getDirDelimiter(); + #ifdef __sparc + component_dir += "mozilla-solaris-sparc"; + #else + component_dir += "mozilla-solaris-i686"; + #endif #else std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) ); component_dir += gDirUtilp->getDirDelimiter(); -- cgit v1.1