[Libreoffice-commits] .: set_soenv.in

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Nov 3 07:04:45 PDT 2010


 set_soenv.in |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit b436d3cb582a1d996af9f827b7c0a9c7e744cdc5
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Nov 3 15:03:27 2010 +0100

    Don't add an explicit -L/usr/lib or -L/usr/lib64.
    
    It breaks KDE3 build on SUSE.

diff --git a/set_soenv.in b/set_soenv.in
index 593ad5b..d20e497 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1335,8 +1335,10 @@ elsif ($platform =~ m/linux|netbsd|osf1|aix|freebsd/)
                         $L.$JRELIBDIR.
                         $L.$JRETOOLKITDIR.
                         $L.$JRETHREADDIR.
-                        $L_STLPORT_LIB.
-                        $L.$XLIB;
+                        $L_STLPORT_LIB;
+   if ( $XLIB ne "/usr/lib" && $XLIB ne "/usr/lib64" ) {
+      $SOLARLIB       .= $L.$XLIB;
+   }
 }
 elsif ($platform =~ m/cygwin|os2/)
 {  $SOLARLIB          = $L.'$SOLARVER'.$ds.'$INPATH'.$LIB.


More information about the Libreoffice-commits mailing list