diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-01-21 20:44:45 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-01-21 20:47:52 +0100 |
commit | 17637e2a2f2a0ca3e52f916a1e64733bde048965 (patch) | |
tree | 7b95e3c12972612c224f27d1c0c59b3816f97837 | |
parent | 133a7e8c69d89a0a3075711a0872fdc5c06d0d65 (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-x | vcl/util/makefile.mk | 2 |
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)" != "" |