diff -Nru slviewer-1.18.4.3.orig/indra/SConstruct slviewer-1.18.4.3/indra/SConstruct
--- slviewer-1.18.4.3.orig/indra/SConstruct	2007-11-18 21:15:13.000000000 +0100
+++ slviewer-1.18.4.3/indra/SConstruct	2007-11-18 21:28:23.000000000 +0100
@@ -213,7 +213,7 @@
         '../libraries/' + system_str + '/include' )
 
     client_external_libs = []
-    system_link_flags = ''
+    system_link_flags = '-L/usr/lib '
 
     if platform != 'linux' and build_target == 'client' and enable_mozlib:
 
@@ -243,7 +243,7 @@
     ##############
 
     # Generic GCC flags
-    cflags = '-g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -Werror -fexceptions '
+    cflags = '-g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -fexceptions '
     cxxflags = ''
     cppflags = '-D_FORTIFY_SOURCE=2 '
     if standalone:
