summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-11-03 15:03:27 +0100
committerJan Holesovsky <kendy@suse.cz>2010-11-03 15:07:32 +0100
commit3e59da9ef5137e7698534290bd80bcd307b64629 (patch)
tree5e0f4290c0cbe6ab5ff151e2dae87bd9632fc55e /set_soenv.in
parent9efac44c5abddc51376a10fee2ee0c4db61889ee (diff)
Don't add an explicit -L/usr/lib or -L/usr/lib64.
It breaks KDE3 build on SUSE.
Diffstat (limited to 'set_soenv.in')
-rw-r--r--set_soenv.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 1ae3d6615480..989dff4bc31e 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1345,8 +1345,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.