diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh index f8d3e58147..87ac97f096 100755 --- a/indra/newview/linux_tools/wrapper.sh +++ b/indra/newview/linux_tools/wrapper.sh @@ -125,6 +125,8 @@ export SAVED_LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" # fi #fi +if ! test -f FS_No_LD_Hacks.txt; then + export LD_LIBRARY_PATH="$PWD/lib:${LD_LIBRARY_PATH}" # AO: experimentally removing to allow --settings on the command line w/o error. FIRE-1031 #export SL_OPT="`cat etc/gridargs.dat` $@" @@ -142,6 +144,7 @@ then fi # End of hack; God will kill a kitten for this :( +fi # Copy "$@" to ARGS array specifically to delete the --skip-gridargs switch. # The gridargs.dat file is no more, but we still want to avoid breaking diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index f94324bed8..dd74a6f121 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -1400,6 +1400,7 @@ class Linux_i686_Manifest(LinuxManifest): except: print "Leap Motion library not found" self.end_prefix("lib") + open( os.path.join(self.get_dst_prefix(), "FS_No_LD_Hacks.txt" ), "w" ).write( "1" ) class Linux_x86_64_Manifest(LinuxManifest):