summaryrefslogtreecommitdiffstats
path: root/kmail/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/Makefile.am')
-rw-r--r--kmail/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/Makefile.am b/kmail/Makefile.am
index 629390928..7d0ed2382 100644
--- a/kmail/Makefile.am
+++ b/kmail/Makefile.am
@@ -25,8 +25,8 @@ INDEXLIB=../indexlib/libindex.la
endif
lib_LTLIBRARIES = libkmailprivate.la
-libkmailprivate_la_LDFLAGS = $(all_libraries) -avoid-version -no-undefined
-libkmailprivate_la_LIBADD = \
+libkmailprivate_la_LDFLAGS = $(all_libraries) -avoid-version -no-undefined -L$(top_builddir)/libkdepim
+libkmailprivate_la_LIBADD = \
../libkmime/libkmime.la ../libkpgp/libkpgp.la ../libkdepim/libkdepim.la \
../libkpimidentities/libkpimidentities.la ../mimelib/libmimelib.la \
../libksieve/libksieve.la ../libemailfunctions/libemailfunctions.la \
@@ -49,7 +49,7 @@ linkdir = $(kde_datadir)/kmail/plugins/bodypartformatter
link_DATA = application_octetstream.desktop
bin_PROGRAMS = kmail
-kmail_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kmail_LDFLAGS = $(all_libraries) $(KDE_RPATH) -L$(top_builddir)/libkdepim -lkdepim
kmail_LDADD = libkmailprivate.la
libkmailprivate_la_SOURCES = kmmessage.cpp kmmainwin.cpp configuredialog.cpp \