summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-01-21 20:44:45 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-01-21 20:47:52 +0100
commit17637e2a2f2a0ca3e52f916a1e64733bde048965 (patch)
tree7b95e3c12972612c224f27d1c0c59b3816f97837
parent133a7e8c69d89a0a3075711a0872fdc5c06d0d65 (diff)
fix KDE3 library search order (fdo#32797)
Use LINKFLAGS instead of STDLIBS, as the latter comes way too late in the link command and may result in some stray -L/usr/lib getting before -L$KDEDIR/lib. Since KDE4 libs often tend to be installed under /usr while KDE3 libs are often somewhere else such as /opt/kde3/lib, this could cause using wrong libraries.
-rwxr-xr-xvcl/util/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/util/makefile.mk b/vcl/util/makefile.mk
index 346a195d7564..76137c5efa7f 100755
--- a/vcl/util/makefile.mk
+++ b/vcl/util/makefile.mk
@@ -417,7 +417,7 @@ SHL5STDLIBS+= $(XRANDR_LIBS)
.ENDIF
.ENDIF
-SHL5STDLIBS+=$(KDE_LIBS)
+SHL5LINKFLAGS+=$(KDE_LIBS)
.ENDIF # "$(ENABLE_KDE)" != ""