summaryrefslogtreecommitdiff
path: root/fpicker/source
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
commitb13f9e3374f8f605e6bf6f7be8819142060c37e9 (patch)
tree97873e2243bb58eb67a76aa17bfda7bbe544e28d /fpicker/source
parent724c4f1c6aea58015e6dfb382614f8bf3f6fb470 (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/source')
-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 5a6d901996..e7fbd2bf2b 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"