aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorArmin Weatherwax2010-01-01 12:59:25 +0100
committerJacek Antonelli2010-01-03 16:31:44 -0600
commit6d50eb4a8c4e6cd4a25f9b5561ad9042814ac89e (patch)
treebac0122928909ec635f62d8daf0bdb368750f7c0 /linden/indra
parentUpdating a few 64bit Linux libs. (diff)
downloadmeta-impy-6d50eb4a8c4e6cd4a25f9b5561ad9042814ac89e.zip
meta-impy-6d50eb4a8c4e6cd4a25f9b5561ad9042814ac89e.tar.gz
meta-impy-6d50eb4a8c4e6cd4a25f9b5561ad9042814ac89e.tar.bz2
meta-impy-6d50eb4a8c4e6cd4a25f9b5561ad9042814ac89e.tar.xz
Fix just another hardcoded path to Linux-i686.
(Cherry picked by Jacek from 2e96ac24)
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/cmake/00-Common.cmake3
-rw-r--r--linden/indra/newview/llviewermedia.cpp8
2 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index 49fdb5b..355ce45 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -168,6 +168,9 @@ if (LINUX)
168 # this stops us requiring a really recent glibc at runtime 168 # this stops us requiring a really recent glibc at runtime
169 add_definitions(-fno-stack-protector) 169 add_definitions(-fno-stack-protector)
170 endif (NOT STANDALONE) 170 endif (NOT STANDALONE)
171 if (${ARCH} STREQUAL "x86_64")
172 add_definitions( -DLINUX64=1 )
173 endif (${ARCH} STREQUAL "x86_64")
171 endif (VIEWER) 174 endif (VIEWER)
172 175
173 set(CMAKE_CXX_FLAGS_DEBUG "-fno-inline ${CMAKE_CXX_FLAGS_DEBUG}") 176 set(CMAKE_CXX_FLAGS_DEBUG "-fno-inline ${CMAKE_CXX_FLAGS_DEBUG}")
diff --git a/linden/indra/newview/llviewermedia.cpp b/linden/indra/newview/llviewermedia.cpp
index 8b95a9f..b6dd9d6 100644
--- a/linden/indra/newview/llviewermedia.cpp
+++ b/linden/indra/newview/llviewermedia.cpp
@@ -532,7 +532,13 @@ void LLViewerMedia::buildMediaManagerData( LLMediaManagerData* init_data )
532#elif LL_LINUX 532#elif LL_LINUX
533 std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) ); 533 std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) );
534 component_dir += gDirUtilp->getDirDelimiter(); 534 component_dir += gDirUtilp->getDirDelimiter();
535 component_dir += "mozilla-runtime-linux-i686"; 535
536 #if LINUX64
537 component_dir += "mozilla-runtime-linux-x86_64";
538 #else
539 component_dir += "mozilla-runtime-linux-i686";
540 #endif
541
536#elif LL_SOLARIS 542#elif LL_SOLARIS
537 std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) ); 543 std::string component_dir( gDirUtilp->getExpandedFilename( LL_PATH_APP_SETTINGS, "" ) );
538 component_dir += gDirUtilp->getDirDelimiter(); 544 component_dir += gDirUtilp->getDirDelimiter();