From 12476d88f6a6ab00354f647a6fe02ecebb763a07 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 10 Oct 2011 20:45:10 +0000 Subject: [PATCH] Link most Trinity DSOs against the most common kdelibs libraries to compensate for linking changes in modern distributions such as Ubuntu Oneiric git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbookreader@1258263 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 94dcdea..145db10 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -8,7 +8,7 @@ bin_PROGRAMS = bookreader bookreader_client INCLUDES = $(all_includes) # the library search path. -bookreader_LDFLAGS = $(KDE_RPATH) $(all_libraries) +bookreader_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor # the libraries to link against. bookreader_LDADD = $(LIB_KFILE) $(LIB_KDEPRINT) @@ -23,7 +23,7 @@ noinst_HEADERS = bookreader.h bookwidget.h theme.h renderer.h bookmark.h \ bookmarksdlg.h # client stuff -bookreader_client_LDFLAGS = $(KDE_RPATH) $(all_libraries) +bookreader_client_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor bookreader_client_LDADD = $(LIB_KDECORE) bookreader_client_SOURCES = bookreader_client.cpp