summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-01-21 20:49:43 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-01-21 20:50:23 +0100
commit5d39c7f613c89e7021bb9f05bc4f7e2b379846e5 (patch)
tree5e8c0dde460663e30922408d7fecf38f747f06b0 /fpicker
parent5eb9bd574e41392ca2ec6e81a535e72b379433da (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.
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/unx/kde/makefile.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpicker/source/unx/kde/makefile.mk b/fpicker/source/unx/kde/makefile.mk
index 5a6d901996b7..e7fbd2bf2b87 100644
--- a/fpicker/source/unx/kde/makefile.mk
+++ b/fpicker/source/unx/kde/makefile.mk
@@ -62,10 +62,8 @@ SLOFILES =\
APP1TARGET=$(TARGET)
APP1OBJS=$(SLOFILES)
APP1RPATH=BRAND
-APP1STDLIBS=\
- $(SALLIB) \
- $(KDE_LIBS) -lkio -lX11
-
+APP1LINKFLAGS=$(KDE_LIBS) -lkio -lX11
+APP1STDLIBS=$(SALLIB)
.ENDIF # "$(GUIBASE)" != "unx" || "$(ENABLE_KDE)" != "TRUE"